- 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>
26 lines
935 B
PHP
Executable File
26 lines
935 B
PHP
Executable File
<?php
|
|
/**
|
|
* Class wpdreamsText
|
|
*
|
|
* A simple text input field.
|
|
*
|
|
* @package WPDreams/OptionsFramework/Classes
|
|
* @category Class
|
|
* @author Ernest Marcinko <ernest.marcinko@wp-dreams.com>
|
|
* @link http://wp-dreams.com, http://codecanyon.net/user/anago/portfolio
|
|
* @copyright Copyright (c) 2014, Ernest Marcinko
|
|
*/
|
|
if (!class_exists("wpdreamsText")) {
|
|
class wpdreamsText extends wpdreamsType {
|
|
public function getType() {
|
|
parent::getType();
|
|
echo "<div class='wpdreamsText'>";
|
|
if ($this->label != "")
|
|
echo "<label for='wpdreamstext_" . self::$_instancenumber . "'>" . $this->label . "</label>";
|
|
echo "<input isparam=1 type='text' id='wpdreamstext_" . self::$_instancenumber . "' name='" . $this->name . "' value=\"" . stripslashes(esc_html($this->data)) . "\" />";
|
|
echo "
|
|
<div class='triggerer'></div>
|
|
</div>";
|
|
}
|
|
}
|
|
} |