Plugin Directory

Changeset 993552


Ignore:
Timestamp:
09/19/2014 08:24:59 PM (11 years ago)
Author:
ulih
Message:

Version 1.9.86 Additional fix for input attributes

Location:
woocommerce-poor-guys-swiss-knife/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-poor-guys-swiss-knife/trunk/classes/woocommerce-poor-guys-swiss-knife.php

    r992827 r993552  
    35163516
    35173517                            case 'value':
    3518                                 if (!empty($value) || $value === 0) $default = $value;
     3518                                if (!empty($value) || $value === 0 || $value === '0') $default = $value;
    35193519                                break;
    35203520                           
     
    35233523                                break;
    35243524                            default:
    3525                                 if (!empty($value) || $value === 0)
     3525                                if (!empty($value) || $value === 0 || $value === '0')
    35263526                                    $custom_attributes[$key] = $value;
    35273527                        }
     
    37023702
    37033703                            case 'value':
    3704                                 if (!empty($value) || $value === 0) $default = $value;
     3704                                if (!empty($value) || $value === 0 || $value === '0') $default = $value;
    37053705                                break;
    37063706                           
    37073707                            default:
    3708                                 if (!empty($value) || $value === 0)
     3708                                if (!empty($value) || $value === 0 || $value === '0')
    37093709                                    $custom_attributes[$key] = $value;
    37103710                        }
  • woocommerce-poor-guys-swiss-knife/trunk/readme.txt

    r992827 r993552  
    55Requires at least: Wordpress 3.1 and WooCommerce 2.0
    66Tested up to: 4.0
    7 Stable tag: 1.9.85
     7Stable tag: 1.9.86
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    262262== Changelog ==
    263263
     264= 1.9.86 =
     265
     266* Bug fix for number input fields affected by the last fix.
     267
    264268= 1.9.85 =
    265269
  • woocommerce-poor-guys-swiss-knife/trunk/woocommerce-poor-guys-swiss-knife.php

    r992827 r993552  
    88 * Author: Uli Hake
    99 * Author URI: http://takebarcelona.com/authorship/uli-hake
    10  * Version: 1.9.85
     10 * Version: 1.9.86
    1111 * @package WordPress
    1212 * @subpackage WooCommerce Poor Guys Swiss Knife
     
    121121        //load into our global
    122122        $wcpgsk = new WCPGSK_Main( __FILE__ );
    123         $wcpgsk->version = '1.9.85';   
     123        $wcpgsk->version = '1.9.86';   
    124124        $wcpgsk->wcpgsk_hook_woocommerce_filters();
    125125       
Note: See TracChangeset for help on using the changeset viewer.