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,2 @@
<?php
// silence is golden

View File

@@ -0,0 +1,31 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit( 1 );
}
/**
* The version is 1.0.3 instead of 1.0.2 because a fix was applied directly to the 1.0.2 file (this), making it 1.0.3.
*/
/** @var TD_DB_Migration $installer */
$installer = $this;
$installer->create_table( 'thrive_reporting_logs', '
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
`event_type` VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`created` DATETIME NULL DEFAULT NULL,
`item_id` BIGINT(20) NULL DEFAULT 0,
`user_id` BIGINT(20) NULL DEFAULT 0,
`post_id` BIGINT(20) NULL DEFAULT 0,
`int_field_1` BIGINT(20) NULL DEFAULT NULL,
`int_field_2` BIGINT(20) NULL DEFAULT NULL,
`float_field` DOUBLE NULL DEFAULT NULL,
`varchar_field_1` VARCHAR(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`varchar_field_2` VARCHAR(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`text_field_1` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`),
INDEX (`event_type`),
INDEX (`user_id`),
INDEX (`item_id`),
INDEX (`created`),
INDEX (`post_id`)'
);

View File

@@ -0,0 +1,13 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
/** @var $this TD_DB_Migration */
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
$this->add_or_modify_column( 'td_fields', 'identifier', 'VARCHAR(32) NULL DEFAULT NULL AFTER `id`' );

View File

@@ -0,0 +1,32 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
global $wpdb;
/** @var $this TD_DB_Migration */
$this->create_table( 'td_groups', '
`id` INT( 11 ) AUTO_INCREMENT,
`name` TEXT NOT NULL,
`is_default` INT NOT NULL DEFAULT 0,
`created_at` DATETIME NULL,
`updated_at` DATETIME NULL,
PRIMARY KEY( `id` )' );
$this->create_table( 'td_fields', '
`id` INT( 11 ) AUTO_INCREMENT,
`group_id` INT( 11 ) NOT NULL,
`name` TEXT NOT NULL,
`type` INT NOT NULL,
`data` TEXT NULL,
`is_default` INT NOT NULL DEFAULT 0,
`created_at` DATETIME NULL,
`updated_at` DATETIME NULL,
PRIMARY KEY( `id` )' );