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,42 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
namespace TCB\ConditionalDisplay\Fields\Request;
use TCB\ConditionalDisplay\Field;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class Cookie extends Field {
/**
* @return string
*/
public static function get_entity() {
return 'request_data';
}
/**
* @return string
*/
public static function get_key() {
return 'cookie';
}
public static function get_label() {
return esc_html__( 'Cookie', 'thrive-cb' );
}
public static function get_conditions() {
return [ 'string_comparison' ];
}
public function get_value( $request_data ) {
return $_COOKIE;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
namespace TCB\ConditionalDisplay\Fields\Request;
use TCB\ConditionalDisplay\Field;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class Post_Variable extends Field {
/**
* @return string
*/
public static function get_entity() {
return 'request_data';
}
/**
* @return string
*/
public static function get_key() {
return 'post_variable';
}
public static function get_label() {
return esc_html__( 'POST variable ', 'thrive-cb' );
}
public static function get_conditions() {
return [ 'string_comparison' ];
}
public function get_value( $request_data ) {
return wp_doing_ajax() && isset( $_GET['post_variables'] ) ? $_GET['post_variables'] : $_POST;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
namespace TCB\ConditionalDisplay\Fields\Request;
use TCB\ConditionalDisplay\Field;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class Url_Query_String extends Field {
/**
* @return string
*/
public static function get_entity() {
return 'request_data';
}
/**
* @return string
*/
public static function get_key() {
return 'url_query_string';
}
public static function get_label() {
return esc_html__( 'URL Query String', 'thrive-cb' );
}
public static function get_conditions() {
return [ 'string_comparison' ];
}
public function get_value( $request_data ) {
return wp_doing_ajax() && isset( $_GET['query_strings'] ) ? $_GET['query_strings'] : $_GET;
}
}