Changeset 3065068
- Timestamp:
- 04/04/2024 10:18:13 PM (2 years ago)
- Location:
- masks-form-fields
- Files:
-
- 3 edited
- 5 copied
-
tags/1.11.1 (copied) (copied from masks-form-fields/trunk)
-
tags/1.11.1/includes/js/jquery.mask.min.js (copied) (copied from masks-form-fields/trunk/includes/js/jquery.mask.min.js)
-
tags/1.11.1/includes/js/scripts.js (copied) (copied from masks-form-fields/trunk/includes/js/scripts.js) (1 diff)
-
tags/1.11.1/masks-form-fields.php (copied) (copied from masks-form-fields/trunk/masks-form-fields.php) (3 diffs)
-
tags/1.11.1/readme.txt (copied) (copied from masks-form-fields/trunk/readme.txt) (4 diffs)
-
trunk/includes/js/scripts.js (modified) (1 diff)
-
trunk/masks-form-fields.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
masks-form-fields/tags/1.11.1/includes/js/scripts.js
r2664651 r3065068 18 18 $('input.cep').mff_mask('00000-000'); 19 19 $('input.zip').mff_mask('00000'); 20 $('input.phone ').mff_mask(PhoneMaskBehavior, nonoOptions);20 $('input.phone, input[name="phonebr"]').mff_mask(PhoneMaskBehavior, nonoOptions); 21 21 $('input.phone_us').mff_mask('(000) 000-0000'); 22 22 $('input.taxid').mff_mask('00-0000000'); -
masks-form-fields/tags/1.11.1/masks-form-fields.php
r3064012 r3065068 2 2 /* 3 3 * Plugin Name: Masks Form Fields 4 * Version: 1.1 04 * Version: 1.11.1 5 5 * Plugin URI: https://ivanpetermann.com/masks-form-fields/ 6 6 * Description: A plugin to add masks in the form’s fields. … … 39 39 if ( ! defined( 'ABSPATH' ) ) exit; 40 40 41 define( 'MFF_VERSION', '1.1 0' );41 define( 'MFF_VERSION', '1.11.1' ); 42 42 define( 'MFF_PLUGIN', __FILE__ ); 43 43 define( 'MFF_PLUGIN_DIR', untrailingslashit( dirname( MFF_PLUGIN ) ) ); … … 79 79 $_mff = ['loader' => true]; 80 80 81 wp_add_inline_script( 'masks-form-fields', 'var _mff='.json_encode($_mff) , 'before' );81 wp_add_inline_script( 'masks-form-fields', 'var _mff='.json_encode($_mff).';', 'before' ); 82 82 83 83 do_action( 'mff_enqueue_scripts' ); -
masks-form-fields/tags/1.11.1/readme.txt
r3064028 r3065068 6 6 Tested up to: 6.5 7 7 Requires PHP: 5.6 8 Stable tag: 1.1 08 Stable tag: 1.11.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 31 31 ('input.cep').mask('00000-000'); 32 32 ('input.zip').mask('00000'); 33 ('input.phone ').mask(PhoneMaskBehavior, nonoOptions);33 ('input.phone, input[name="phonebr"]').mask(PhoneMaskBehavior, nonoOptions); 34 34 ('input.phone_us').mask('(000) 000-0000'); 35 35 ('input.taxid').mask('00-0000000'); … … 55 55 [Click here](https://gist.github.com/petermann/fd1a898e02ca91a0d7231a9f8ee662b4) for more details on how to add custom mask. 56 56 57 **Optional** 58 - Added option for the format of the Brazilian phone number, with attribute `name` equal to `phonebr`. 59 57 60 == Installation == 58 61 … … 75 78 76 79 == Changelog == 80 81 = 1.11.1 = 82 * Fixed JS minification conflict: Added semicolon after JSON declaration in wp_add_inline_script. (commit#3529ce1) 83 * Added option for the format of the Brazilian phone number, with attribute 'name' equal to 'phonebr'. (commit#9c14400) 77 84 78 85 = 1.10 = -
masks-form-fields/trunk/includes/js/scripts.js
r2664651 r3065068 18 18 $('input.cep').mff_mask('00000-000'); 19 19 $('input.zip').mff_mask('00000'); 20 $('input.phone ').mff_mask(PhoneMaskBehavior, nonoOptions);20 $('input.phone, input[name="phonebr"]').mff_mask(PhoneMaskBehavior, nonoOptions); 21 21 $('input.phone_us').mff_mask('(000) 000-0000'); 22 22 $('input.taxid').mff_mask('00-0000000'); -
masks-form-fields/trunk/masks-form-fields.php
r3064012 r3065068 2 2 /* 3 3 * Plugin Name: Masks Form Fields 4 * Version: 1.1 04 * Version: 1.11.1 5 5 * Plugin URI: https://ivanpetermann.com/masks-form-fields/ 6 6 * Description: A plugin to add masks in the form’s fields. … … 39 39 if ( ! defined( 'ABSPATH' ) ) exit; 40 40 41 define( 'MFF_VERSION', '1.1 0' );41 define( 'MFF_VERSION', '1.11.1' ); 42 42 define( 'MFF_PLUGIN', __FILE__ ); 43 43 define( 'MFF_PLUGIN_DIR', untrailingslashit( dirname( MFF_PLUGIN ) ) ); … … 79 79 $_mff = ['loader' => true]; 80 80 81 wp_add_inline_script( 'masks-form-fields', 'var _mff='.json_encode($_mff) , 'before' );81 wp_add_inline_script( 'masks-form-fields', 'var _mff='.json_encode($_mff).';', 'before' ); 82 82 83 83 do_action( 'mff_enqueue_scripts' ); -
masks-form-fields/trunk/readme.txt
r3064028 r3065068 6 6 Tested up to: 6.5 7 7 Requires PHP: 5.6 8 Stable tag: 1.1 08 Stable tag: 1.11.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 31 31 ('input.cep').mask('00000-000'); 32 32 ('input.zip').mask('00000'); 33 ('input.phone ').mask(PhoneMaskBehavior, nonoOptions);33 ('input.phone, input[name="phonebr"]').mask(PhoneMaskBehavior, nonoOptions); 34 34 ('input.phone_us').mask('(000) 000-0000'); 35 35 ('input.taxid').mask('00-0000000'); … … 55 55 [Click here](https://gist.github.com/petermann/fd1a898e02ca91a0d7231a9f8ee662b4) for more details on how to add custom mask. 56 56 57 **Optional** 58 - Added option for the format of the Brazilian phone number, with attribute `name` equal to `phonebr`. 59 57 60 == Installation == 58 61 … … 75 78 76 79 == Changelog == 80 81 = 1.11.1 = 82 * Fixed JS minification conflict: Added semicolon after JSON declaration in wp_add_inline_script. (commit#3529ce1) 83 * Added option for the format of the Brazilian phone number, with attribute 'name' equal to 'phonebr'. (commit#9c14400) 77 84 78 85 = 1.10 =
Note: See TracChangeset
for help on using the changeset viewer.