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 @@
(()=>{"use strict";const r=wp.i18n,t=wp.hooks;(0,t.addFilter)("rank_math_content_ai_help_text","rank-math-pro",(function(){return(0,r.__)("Contact your SEO service provider for more AI credits.","rank-math-pro")})),(0,t.addFilter)("rank_math_content_ai_credits_notice","rank-math-pro",(function(){return(0,r.__)("You have used all of your AI credits and need to purchase more from your SEO service provider.","rank-math-pro")}))})();

View File

@@ -0,0 +1,13 @@
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n'
import { addFilter } from '@wordpress/hooks'
addFilter( 'rank_math_content_ai_help_text', 'rank-math-pro', () => {
return __( 'Contact your SEO service provider for more AI credits.', 'rank-math-pro' )
} )
addFilter( 'rank_math_content_ai_credits_notice', 'rank-math-pro', () => {
return __( 'You have used all of your AI credits and need to purchase more from your SEO service provider.', 'rank-math-pro' )
} )

View File

@@ -0,0 +1,52 @@
<?php
/**
* The Content AI module.
*
* @since 3.0.25
* @package RankMath
* @subpackage RankMathPro
* @author Rank Math <support@rankmath.com>
*/
namespace RankMathPro;
use RankMath\ContentAI\Content_AI as Content_AI_Free;
use RankMath\Helper;
use RankMathPro\Admin\Admin_Helper;
use RankMath\Traits\Hooker;
defined( 'ABSPATH' ) || exit;
/**
* Content_AI class.
*/
class Content_AI {
use Hooker;
/**
* Class constructor.
*/
public function __construct() {
if ( ! Admin_Helper::is_business_plan() || ! Content_AI_Free::can_add_tab() || ! Helper::get_current_editor() ) {
return;
}
$this->action( 'rank_math/admin/editor_scripts', 'editor_scripts', 19 );
}
/**
* Enqueue assets for post editors.
*
* @return void
*/
public function editor_scripts() {
wp_enqueue_script(
'rank-math-pro-content-ai',
RANK_MATH_PRO_URL . 'includes/modules/content-ai/assets/js/content-ai.js',
[ 'rank-math-content-ai' ],
rank_math_pro()->version,
true
);
}
}