Plugin Directory

Changeset 1577526


Ignore:
Timestamp:
01/18/2017 07:45:29 PM (9 years ago)
Author:
shockware
Message:

Merge branch 'master' into HEAD

Location:
contact-form-7-datepicker/trunk
Files:
1 added
4 edited

Legend:

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

    r1376157 r1577526  
    144144
    145145    public static function add_shortcodes() {
    146         if (function_exists('wpcf7_add_shortcode')) {
     146        if (function_exists('wpcf7_add_form_tag')) {
    147147            // Remove Contact Form 7's date module
    148148            wpcf7_remove_shortcode('date');
    149149            wpcf7_remove_shortcode('date*');
    150150
    151             wpcf7_add_shortcode(array('date', 'date*'), array(__CLASS__, 'shortcode_handler'), true);
     151            wpcf7_add_form_tag(array('date', 'date*'), array(__CLASS__, 'shortcode_handler'), true);
    152152        }
    153153    }
  • contact-form-7-datepicker/trunk/modules/datetime.php

    r1376157 r1577526  
    149149
    150150    public static function add_shortcodes() {
    151         if (function_exists('wpcf7_add_shortcode')) {
    152             wpcf7_add_shortcode(array('datetime', 'datetime*'), array(__CLASS__, 'shortcode_handler'), true);
     151        if (function_exists('wpcf7_add_form_tag')) {
     152            wpcf7_add_form_tag(array('datetime', 'datetime*'), array(__CLASS__, 'shortcode_handler'), true);
    153153        }
    154154    }
  • contact-form-7-datepicker/trunk/modules/time.php

    r1376157 r1577526  
    144144
    145145    public static function add_shortcodes() {
    146         if (function_exists('wpcf7_add_shortcode')) {
    147             wpcf7_add_shortcode(array('time', 'time*'), array(__CLASS__, 'shortcode_handler'), true);
     146        if (function_exists('wpcf7_add_form_tag')) {
     147            wpcf7_add_form_tag(array('time', 'time*'), array(__CLASS__, 'shortcode_handler'), true);
    148148        }
    149149    }
  • contact-form-7-datepicker/trunk/readme.txt

    r1376157 r1577526  
    11=== Plugin Name ===
    2 Contributors: shockware, baden03, szepe.viktor, xsonic
     2Contributors: shockware, baden03, szepe.viktor, xsonic, sanidm, imelgrat
    33Tags: wordpress, datepicker, timepicker, date, time, calendar, contact form 7, forms, jqueryui
    44Requires at least: 3.6.1
    5 Tested up to: 4.4.2
    6 Stable tag: 2.5.2
     5Tested up to: 4.7.1
     6Stable tag: 2.6.0
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333
    3434== Changelog ==
     35
     36= 2.6.0 =
     37* Compatibility with CF7 4.6, replace deprecated calls (imelgrat)
     38* Add bosnian translation for timepicker (sanidm)
    3539
    3640= 2.5.2 =
Note: See TracChangeset for help on using the changeset viewer.