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,31 @@
<?php
/**
* Updates options.
* @since 5.2.0
*/
class SocialLockerUpdate050505 extends Factory325_Update {
public function install() {
$facebookAppId = get_option('opanda_facebook_appid');
if ( !empty( $facebookAppId ) ) {
update_option('opanda_facebook_app_id', $facebookAppId );
delete_option('opanda_facebook_appid');
}
$twitterConsumerKey = get_option('opanda_twitter_consumer_key');
if ( !empty( $twitterConsumerKey ) ) {
update_option('opanda_twitter_social_app_consumer_key', $twitterConsumerKey );
update_option('opanda_twitter_signin_app_consumer_key', $twitterConsumerKey );
delete_option('opanda_twitter_consumer_key');
}
$twitterConsumerSecret = get_option('opanda_twitter_consumer_secret');
if ( !empty( $twitterConsumerSecret ) ) {
update_option('opanda_twitter_social_app_consumer_secret', $twitterConsumerKey );
update_option('opanda_twitter_signin_app_consumer_secret', $twitterConsumerKey );
delete_option('opanda_twitter_consumer_secret');
}
}
}