Plugin Directory

Changeset 1783728


Ignore:
Timestamp:
12/09/2017 08:14:21 AM (8 years ago)
Author:
ilariotr
Message:

v1.0.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wc-age-verification/trunk/index.php

    r1776655 r1783728  
    44Plugin URI:        https://wordpress.org/plugins/wc-age-verification/
    55Description:       This plugin allows you to set age restrictions on orders
    6 Version:           1.0.1
     6Version:           1.0.2
    77Author:            Ilario Tresoldi
    88Author URI:        http://www.webcreates.eu
     
    4949    function wcav_custom_enqueue_datepicker() {
    5050        wp_enqueue_script('jquery-ui-datepicker');
     51        wp_localize_jquery_ui_datepicker();
    5152        wp_register_style('datepicker_css', plugins_url('css/jquery-ui.css',__FILE__ ));
    5253        wp_enqueue_style('datepicker_css');
     
    6162            'readonly'      => 'readonly',
    6263            'class'         => array('my-field-class form-row-wide'),
    63             'label'         => __('Your Birthdate (mm-dd-yyyy)'),
    64             'placeholder'   => __(''),
     64            'label'         => _e('Your Birthdate (mm-dd-yyyy)', 'cav'),
     65            'placeholder'   => _e(''),
    6566            'id'=>__('MyDate')
    6667        ), $checkout->get_value( 'my_field_name' ));
Note: See TracChangeset for help on using the changeset viewer.