Plugin Directory

Changeset 695340


Ignore:
Timestamp:
04/10/2013 03:47:09 PM (13 years ago)
Author:
shockware
Message:

Merge branch 'master' into HEAD

Location:
contact-form-7-datepicker/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contact-form-7-datepicker/trunk/contact-form-7-datepicker.php

    r694715 r695340  
    55Description: Easily add a date field using jQuery UI's datepicker to your CF7 forms. This plugin depends on Contact Form 7.
    66Author: Aurel Canciu
    7 Version: 2.3.1
     7Version: 2.3.2
    88Author URI: https://github.com/relu/
    99*/
  • contact-form-7-datepicker/trunk/date-module.php

    r694714 r695340  
    7878            } elseif (preg_match('%^change-year$%i', $option, $matches)) {
    7979                $dpOptions['changeYear'] = true;
    80             } elseif (preg_match('%^year-range:([-+\d]+)[:-]?([-+\d]+)?$%', $option, $matches)) {
    81                 $dpOptions['yearRange'] = $matches[1];
     80            } elseif (preg_match('%^year-range:([-+]?\d+)[:-]?([-+]?\d+)?$%', $option, $matches)) {
     81                $dpOptions['yearRange'] = isset($matches[2]) ? "$matches[1]:$matches[2]" : $matches[1];
    8282            } elseif (preg_match('%^months:(\d+)$%', $option, $matches)) {
    8383                $dpOptions['numberOfMonths'] = (int) $matches[1];
  • contact-form-7-datepicker/trunk/readme.txt

    r694716 r695340  
    44Requires at least: 2.9
    55Tested up to: 3.5.1
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3434
    3535== Changelog ==
     36
     37= 2.3.2 =
     38* Fix year-range issues
    3639
    3740= 2.3.1 =
Note: See TracChangeset for help on using the changeset viewer.