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,69 @@
<?php
/**
* Plugin file
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
*/
/**
* WordPress integration and definitions:
*
* @deprecated 2.0 Use Advanced_Ads
*/
class Advanced_Ads_Plugin {
/**
* Instance of Advanced_Ads_Plugin
*
* @var object Advanced_Ads_Plugin
*/
protected static $instance;
/**
* Plugin options
*
* @var array $options
*/
protected $options;
/**
* Get instance of Advanced_Ads_Plugin
*/
public static function get_instance() {
_deprecated_file( __CLASS__, '2.0', 'Advanced_Ads' );
// If the single instance hasn't been set, set it now.
if ( null === self::$instance ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Return plugin options these are the options updated by the user
*
* @deprecated 2.0 Use AdvancedAds\Options class instead.
*
* @return array $options
*/
public function options() {
_deprecated_function( __METHOD__, '2.0', "AdvancedAds\Options::get_instance()->get_options('advanced-ads')" );
return Advanced_Ads::get_instance()->options();
}
/**
* Get prefix used for frontend elements
*
* @deprecated 2.0 Use wp_advads()->get_frontend_prefix().
*
* @return string
*/
public function get_frontend_prefix() {
_deprecated_function( __METHOD__, '2.0', 'wp_advads()->get_frontend_prefix()' );
return wp_advads()->get_frontend_prefix();
}
}