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,129 @@
<?php
/**
* Dashboard help tab template.
*
* @package RankMath
* @subpackage RankMath\Admin
*/
use RankMath\KB;
use RankMath\Helper;
defined( 'ABSPATH' ) || exit;
if ( ! current_user_can( 'manage_options' ) ) {
return;
}
if ( Helper::has_cap( 'general' ) ) {
include_once 'plugin-activation.php';
}
require_once 'plugin-activation.php'; ?>
<div class="two-col rank-math-box-help">
<div class="col rank-math-box">
<header>
<h3><?php esc_html_e( 'Next steps&hellip;', 'rank-math' ); ?></h3>
</header>
<div class="rank-math-box-content">
<ul class="rank-math-list-icon">
<li>
<?php if ( ! defined( 'RANK_MATH_PRO_FILE' ) ) { ?>
<a href="<?php KB::the( 'pro', 'Help Tab PRO Link' ); ?>" target="_blank">
<i class="rm-icon rm-icon-star-filled"></i>
<div>
<strong><?php esc_html_e( 'Upgrade to PRO', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'Advanced Schema, Analytics and much more...', 'rank-math' ); ?></p>
</div>
</a>
<?php } else { ?>
<a href="<?php KB::the( 'how-to-setup', 'Help Tab Setup KB' ); ?>" target="_blank">
<i class="rm-icon rm-icon-settings"></i>
<div>
<strong><?php esc_html_e( 'Setup Rank Math', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'How to Properly Setup Rank Math', 'rank-math' ); ?></p>
</div>
</a>
<?php } ?>
</li>
<li>
<a href="<?php KB::the( 'seo-import', 'Help Tab Import Data' ); ?>" target="_blank">
<i class="rm-icon rm-icon-import"></i>
<div>
<strong><?php esc_html_e( 'Import Data', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'How to Import Data from Your Previous SEO Plugin', 'rank-math' ); ?></p>
</div>
</a>
</li>
<li>
<a href="<?php KB::the( 'score-100', 'Help Tab Score KB' ); ?>" target="_blank">
<i class="rm-icon rm-icon-post"></i>
<div>
<strong><?php esc_html_e( 'Improve SEO Score', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'How to Make Your Posts Pass All the Tests', 'rank-math' ); ?></p>
</div>
</a>
</li>
</ul>
</div>
</div>
<div class="col rank-math-box">
<header>
<h3><?php esc_html_e( 'Product Support', 'rank-math' ); ?></h3>
</header>
<div class="rank-math-box-content">
<ul class="rank-math-list-icon">
<li>
<a href="<?php KB::the( 'kb-seo-suite', 'Help Tab KB Link' ); ?>" target="_blank">
<i class="rm-icon rm-icon-help"></i>
<div>
<strong><?php esc_html_e( 'Online Documentation', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'Understand all the capabilities of Rank Math', 'rank-math' ); ?></p>
</div>
</a>
</li>
<li>
<a href="<?php KB::the( 'support', 'Help Tab Ticket' ); ?>" target="_blank">
<i class="rm-icon rm-icon-support"></i>
<div>
<strong><?php esc_html_e( 'Ticket Support', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'Direct help from our qualified support team', 'rank-math' ); ?></p>
</div>
</a>
</li>
<li>
<a href="<?php KB::the( 'help-affiliate', 'Help Tab Aff Link' ); ?>" target="_blank">
<i class="rm-icon rm-icon-sitemap"></i>
<div>
<strong><?php esc_html_e( 'Affiliate Program', 'rank-math' ); ?></strong>
<p><?php esc_html_e( 'Earn flat 30% on every sale!', 'rank-math' ); ?></p>
</div>
</a>
</li>
</ul>
</div>
</div>
</div><!--.two-col-->
</div><!--.dashboard-wrapper-->

View File

@@ -0,0 +1,11 @@
<?php
/**
* Dashboard page template.
*
* @package RankMath
* @subpackage RankMath\Admin
*/
defined( 'ABSPATH' ) || exit;
?>
<div id="rank-math-dashboard-page"></div>

View File

@@ -0,0 +1 @@
<?php // Silence is golden.

View File

@@ -0,0 +1,54 @@
<?php
/**
* Plugin activation template.
*
* @package RankMath
* @subpackage RankMath\Admin
*/
use RankMath\Helper;
use RankMath\Admin\Admin_Helper;
defined( 'ABSPATH' ) || exit;
$is_registered = Helper::is_site_connected();
$class = $is_registered ? 'status-green' : 'status-red';
$activate_url = Admin_Helper::get_activate_url();
$site_url_valid = Admin_Helper::is_site_url_valid();
$button_class = 'button button-primary button-connect' . ( $site_url_valid ? ' button-animated' : ' disabled' );
?>
<div class="rank-math-ui dashboard-wrapper container help">
<div class="rank-math-box <?php echo esc_attr( $class ); ?>">
<header>
<h3><?php esc_html_e( 'Account', 'rank-math' ); ?></h3>
<span class="button button-large <?php echo esc_attr( $class ); ?>"><?php echo $is_registered ? '<i class="rm-icon rm-icon-tick"></i>' . esc_html__( 'Connected', 'rank-math' ) : '<i class="rm-icon rm-icon-cross"></i>' . esc_html__( 'Not Connected', 'rank-math' ); ?></span>
</header>
<div class="rank-math-box-content rank-math-ui">
<form method="post" action="">
<input type="hidden" name="registration-action" value="<?php echo $is_registered ? 'deregister' : 'register'; ?>">
<?php wp_nonce_field( 'rank_math_register_product' ); ?>
<?php if ( ! $is_registered ) : ?>
<?php // translators: variables used to wrap the text in the strong tag. ?>
<p><?php printf( wp_kses_post( __( 'The plugin is currently not connected with your Rank Math account. Click on the button below to login or register for FREE using your %1$sGoogle account, Facebook account%2$s or %1$syour email account%2$s.', 'rank-math' ) ), '<strong>', '</strong>' ); ?></p>
<?php Admin_Helper::maybe_show_invalid_siteurl_notice(); ?>
<a href="<?php echo esc_url( $activate_url ); ?>" class="<?php echo esc_attr( $button_class ); ?>" ><?php esc_html_e( 'Connect Now', 'rank-math' ); ?></a>
<?php else : ?>
<?php // translators: variables used to wrap the text in the strong tag. ?>
<p><?php printf( wp_kses_post( __( 'You have successfully activated Rank Math. If you find the plugin useful, %1$s feel free to recommend it to your friends or colleagues %2$s.', 'rank-math' ) ), '<strong>', '</strong>' ); ?><?php Admin_Helper::get_social_share(); ?></p>
<div class="frm-submit">
<button type="submit" class="button button-link-delete button-xlarge" name="button"><?php echo esc_html__( 'Disconnect Account', 'rank-math' ); ?></button>
</div>
<?php endif; ?>
</form>
</div>
</div>