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,41 @@
<?php
/**
* The Editor helpers.
*
* @since 1.0.9
* @package RankMath
* @subpackage RankMath\Helpers
* @author Rank Math <support@rankmath.com>
*/
namespace RankMath\Helpers;
use RankMath\Helper;
defined( 'ABSPATH' ) || exit;
/**
* Editor class.
*/
class Editor {
/**
* Can add editor.
*
* @return bool
*/
public static function can_add_editor() {
return Helper::has_cap( 'onpage_general' ) ||
Helper::has_cap( 'onpage_advanced' ) ||
Helper::has_cap( 'onpage_snippet' ) ||
Helper::has_cap( 'onpage_social' );
}
/**
* Add option to Lock Modified date in the editor.
*
* @return bool
*/
public static function can_add_lock_modified_date() {
return apply_filters( 'rank_math/lock_modified_date', true );
}
}