Commit inicial - WordPress Análisis de Precios Unitarios

- 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>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
/**
* Re-creating the leads table, adding the fields table for leads, adds the option 'opanda_catch_leads' for lockers.
*
* @since 4.1.2
*/
class SocialLockerUpdate040102 extends Factory325_Update {
public function install() {
// updating the options Terms of Use and Privacy Policy
$pageTermsOfUse = get_option('opanda_terms_of_use', false);
$pagePrivacyPolicy = get_option('opanda_privacy_policy', false);
if ( !empty( $pageTermsOfUse ) ) {
add_option('opanda_terms_of_use_page', $pageTermsOfUse);
add_option('opanda_terms_use_pages', true);
}
if ( !empty( $pagePrivacyPolicy ) ) {
add_option('opanda_privacy_policy_page', $pagePrivacyPolicy);
add_option('opanda_terms_use_pages', true);
}
delete_option('opanda_terms_of_use');
delete_option('opanda_privacy_policy');
add_option('opanda_terms_enabled', 1);
}
}