Files
roi-theme/wp-content/plugins/seo-by-rank-math-pro/includes/updates/update-3.0.26.php
root a22573bf0b 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>
2025-11-03 21:04:30 -06:00

33 lines
663 B
PHP
Executable File

<?php
/**
* The Updates routine for version 3.0.26.
*
* @since 3.0.26
* @package RankMathPro
* @subpackage RankMathPro\Updates
* @author Rank Math <support@rankmath.com>
*/
defined( 'ABSPATH' ) || exit;
/**
* This code is needed to update the UK country ISO code with GB value.
*/
function rank_math_pro_3_0_26_update_country_code() {
$prev = get_option( 'rank_math_google_analytic_options', [] );
if (
empty( $prev ) ||
empty( $prev['country'] ) ||
$prev['country'] !== 'UK'
) {
return;
}
$prev['country'] = 'GB';
update_option( 'rank_math_google_analytic_options', $prev );
}
rank_math_pro_3_0_26_update_country_code();