Changeset 2518258
- Timestamp:
- 04/20/2021 11:16:10 AM (5 years ago)
- Location:
- wpi-designer-button-shortcode/trunk
- Files:
-
- 3 edited
-
inc/functions.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
wpi-designer-button-shortcode.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpi-designer-button-shortcode/trunk/inc/functions.php
r1417269 r2518258 35 35 extract(wp_parse_args($args,$defaults)); 36 36 if($value=="" && $default!=""){$value=$default; } 37 $value= wp_specialchars( $value, "single" );37 $value=esc_html( $value, "single" ); 38 38 $output="<input type='text' name='{$name}' id='{$name}' value='{$value}' class='{$class}'/>"; 39 39 return $output; … … 73 73 $defaults=array("name"=>"", "class"=>" ", "value"=>""); 74 74 extract(wp_parse_args($args,$defaults)); 75 $value= wp_specialchars( $value, "single" );75 $value=esc_html( $value, "single" ); 76 76 $output="<textarea type='text' name='{$name}' id='{$name}' class='{$class}'>{$value}</textarea>"; 77 77 return $output; -
wpi-designer-button-shortcode/trunk/readme.txt
r2452278 r2518258 163 163 164 164 == Changelog == 165 = 3.0.1 = 166 Input Value Fix 165 167 = 3 = 166 168 Just Refesh -
wpi-designer-button-shortcode/trunk/wpi-designer-button-shortcode.php
r2452271 r2518258 4 4 * Plugin URI: http://designerbutton.prali.in/ 5 5 * Description: Create Designer Buttons anywhere in wordpress using button shortcode [wpi_designer_button] 6 * Version: 3.0. 06 * Version: 3.0.1 7 7 * Author: wooprali 8 8 * Author URI: http://wooprali.prali.in … … 14 14 defined('ABSPATH') or die("No script kiddies please!"); 15 15 if ( !defined('WPIDB_URL' ) ) { 16 define( 'WPIDB_VER', "3.0. 0" );16 define( 'WPIDB_VER', "3.0.1" ); 17 17 define( 'WPIDB_URL', plugin_dir_url( __FILE__ ) ); 18 18 define( 'WPIDB_PLUGIN', plugin_basename( __FILE__) ); … … 35 35 class WPiDesignerButtonShortcode{ 36 36 37 const VERSION = '3.0. 0';37 const VERSION = '3.0.1'; 38 38 public function __construct(){ 39 define( 'WPI_DESIGNER_BUTTON_SHORTCODE', '3.0. 0' );39 define( 'WPI_DESIGNER_BUTTON_SHORTCODE', '3.0.1' ); 40 40 define( 'DEV', "?t=".rand(0,1000) ); 41 41 //define( 'DEV', "");
Note: See TracChangeset
for help on using the changeset viewer.