Changeset 3064012
- Timestamp:
- 04/03/2024 06:08:26 PM (2 years ago)
- Location:
- masks-form-fields
- Files:
-
- 2 edited
- 5 copied
-
tags/1.10 (copied) (copied from masks-form-fields/trunk)
-
tags/1.10/includes/js/jquery.mask.min.js (copied) (copied from masks-form-fields/trunk/includes/js/jquery.mask.min.js)
-
tags/1.10/includes/js/scripts.js (copied) (copied from masks-form-fields/trunk/includes/js/scripts.js)
-
tags/1.10/masks-form-fields.php (copied) (copied from masks-form-fields/trunk/masks-form-fields.php) (3 diffs)
-
tags/1.10/readme.txt (copied) (copied from masks-form-fields/trunk/readme.txt) (2 diffs)
-
trunk/masks-form-fields.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
masks-form-fields/tags/1.10/masks-form-fields.php
r2988575 r3064012 2 2 /* 3 3 * Plugin Name: Masks Form Fields 4 * Version: 1. 94 * Version: 1.10 5 5 * Plugin URI: https://ivanpetermann.com/masks-form-fields/ 6 6 * Description: A plugin to add masks in the form’s fields. 7 7 * Author: Ivan Petermann 8 8 * Author URI: https://ivanpetermann.com 9 * Requires at least: 3.910 * Tested up to: 6. 49 * Requires at least: 4.5 10 * Tested up to: 6.5 11 11 * 12 12 * Text Domain: masks-form-fields … … 39 39 if ( ! defined( 'ABSPATH' ) ) exit; 40 40 41 define( 'MFF_VERSION', '1. 9' );41 define( 'MFF_VERSION', '1.10' ); 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_ localize_script( 'masks-form-fields', '_mff', $_mff);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.10/readme.txt
r2988575 r3064012 3 3 Donate link: https://ivanpetermann.com/donation 4 4 Tags: email, mask, form, input, field, phone, masks, fields, petermann 5 Requires at least: 3.96 Tested up to: 6. 45 Requires at least: 4.5 6 Tested up to: 6.5 7 7 Requires PHP: 5.6 8 Stable tag: 1. 98 Stable tag: 1.10 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 == Changelog == 77 77 78 = 1.10 = 79 * Replaced wp_localize_script with wp_add_inline_script. (commit#6f6dc2d) 80 * Updated minimum WordPress version requirement from 3.9 to 4.5. 81 * Tested in WordPress 6.5 82 78 83 = 1.9 = 79 84 * Fixed conflict with another library. -
masks-form-fields/trunk/masks-form-fields.php
r2988575 r3064012 2 2 /* 3 3 * Plugin Name: Masks Form Fields 4 * Version: 1. 94 * Version: 1.10 5 5 * Plugin URI: https://ivanpetermann.com/masks-form-fields/ 6 6 * Description: A plugin to add masks in the form’s fields. 7 7 * Author: Ivan Petermann 8 8 * Author URI: https://ivanpetermann.com 9 * Requires at least: 3.910 * Tested up to: 6. 49 * Requires at least: 4.5 10 * Tested up to: 6.5 11 11 * 12 12 * Text Domain: masks-form-fields … … 39 39 if ( ! defined( 'ABSPATH' ) ) exit; 40 40 41 define( 'MFF_VERSION', '1. 9' );41 define( 'MFF_VERSION', '1.10' ); 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_ localize_script( 'masks-form-fields', '_mff', $_mff);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
r2988575 r3064012 3 3 Donate link: https://ivanpetermann.com/donation 4 4 Tags: email, mask, form, input, field, phone, masks, fields, petermann 5 Requires at least: 3.96 Tested up to: 6. 45 Requires at least: 4.5 6 Tested up to: 6.5 7 7 Requires PHP: 5.6 8 Stable tag: 1. 98 Stable tag: 1.10 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 == Changelog == 77 77 78 = 1.10 = 79 * Replaced wp_localize_script with wp_add_inline_script. (commit#6f6dc2d) 80 * Updated minimum WordPress version requirement from 3.9 to 4.5. 81 * Tested in WordPress 6.5 82 78 83 = 1.9 = 79 84 * Fixed conflict with another library.
Note: See TracChangeset
for help on using the changeset viewer.