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,26 @@
<?php
namespace WPDRMS\Backend\Options;
class TextArea extends AbstractOption {
protected $default_args = array(
"wide" => false
);
protected static function outputValue( $value ) {
// No need to decode
return stripslashes(esc_html($value));
}
public function render() {
$style = $this->args['wide'] ? 'style="min-width:85%;"' : '';
?>
<label class="wd_textarea_expandable" for="wd_textareae_<?php echo self::$num; ?>"><?php echo $this->label; ?></label>
<textarea rows='1' data-min-rows='2' id="wd_textareae_<?php echo self::$num; ?>"
class='wd_textarea_expandable'
name="<?php echo $this->name; ?>"
<?php echo $style; ?>
id="wd_textareae_<?php echo self::$num; ?>"><?php echo self::outputValue($this->value); ?></textarea>
<?php
}
}