Plugin Directory

Changeset 2518258


Ignore:
Timestamp:
04/20/2021 11:16:10 AM (5 years ago)
Author:
wooprali
Message:

Input Value Fix

Location:
wpi-designer-button-shortcode/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpi-designer-button-shortcode/trunk/inc/functions.php

    r1417269 r2518258  
    3535        extract(wp_parse_args($args,$defaults));
    3636        if($value=="" && $default!=""){$value=$default; }
    37         $value=wp_specialchars( $value, "single" );
     37        $value=esc_html( $value, "single" );
    3838        $output="<input type='text' name='{$name}' id='{$name}' value='{$value}'  class='{$class}'/>";
    3939        return $output;
     
    7373        $defaults=array("name"=>"", "class"=>" ", "value"=>"");
    7474        extract(wp_parse_args($args,$defaults));
    75         $value=wp_specialchars( $value, "single" );     
     75        $value=esc_html( $value, "single" );       
    7676        $output="<textarea type='text' name='{$name}' id='{$name}' class='{$class}'>{$value}</textarea>";
    7777        return $output;
  • wpi-designer-button-shortcode/trunk/readme.txt

    r2452278 r2518258  
    163163
    164164== Changelog ==
     165= 3.0.1 =
     166Input Value Fix
    165167= 3 =
    166168Just Refesh
  • wpi-designer-button-shortcode/trunk/wpi-designer-button-shortcode.php

    r2452271 r2518258  
    44 * Plugin URI: http://designerbutton.prali.in/
    55 * Description: Create Designer Buttons anywhere in wordpress using button shortcode [wpi_designer_button]
    6  * Version: 3.0.0
     6 * Version: 3.0.1
    77 * Author: wooprali
    88 * Author URI: http://wooprali.prali.in
     
    1414defined('ABSPATH') or die("No script kiddies please!");
    1515if ( !defined('WPIDB_URL' ) ) {
    16     define( 'WPIDB_VER', "3.0.0" );
     16    define( 'WPIDB_VER', "3.0.1" );
    1717    define( 'WPIDB_URL', plugin_dir_url( __FILE__ ) );
    1818    define( 'WPIDB_PLUGIN', plugin_basename( __FILE__) );   
     
    3535class WPiDesignerButtonShortcode{
    3636
    37     const VERSION = '3.0.0';   
     37    const VERSION = '3.0.1';   
    3838    public function __construct(){ 
    39         define( 'WPI_DESIGNER_BUTTON_SHORTCODE', '3.0.0' );
     39        define( 'WPI_DESIGNER_BUTTON_SHORTCODE', '3.0.1' );
    4040        define( 'DEV', "?t=".rand(0,1000) );
    4141        //define( 'DEV', "");       
Note: See TracChangeset for help on using the changeset viewer.