- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
298 B
PHP
Executable File
14 lines
298 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Updates options.
|
|
* @since 5.2.0
|
|
*/
|
|
class SocialLockerUpdate050200 extends Factory325_Update {
|
|
|
|
public function install() {
|
|
|
|
$termsEnabled = get_option('opanda_terms_enabled', 1);
|
|
update_option('opanda_privacy_enabled', $termsEnabled ? 1 : 0);
|
|
}
|
|
} |