Plugin Directory

Changeset 3064012


Ignore:
Timestamp:
04/03/2024 06:08:26 PM (2 years ago)
Author:
ivanpetermann
Message:

tagging version 1.10

Location:
masks-form-fields
Files:
2 edited
5 copied

Legend:

Unmodified
Added
Removed
  • masks-form-fields/tags/1.10/masks-form-fields.php

    r2988575 r3064012  
    22/*
    33 * Plugin Name: Masks Form Fields
    4  * Version: 1.9
     4 * Version: 1.10
    55 * Plugin URI: https://ivanpetermann.com/masks-form-fields/
    66 * Description: A plugin to add masks in the form’s fields.
    77 * Author: Ivan Petermann
    88 * Author URI: https://ivanpetermann.com
    9  * Requires at least: 3.9
    10  * Tested up to: 6.4
     9 * Requires at least: 4.5
     10 * Tested up to: 6.5
    1111 *
    1212 * Text Domain: masks-form-fields
     
    3939if ( ! defined( 'ABSPATH' ) ) exit;
    4040
    41 define( 'MFF_VERSION', '1.9' );
     41define( 'MFF_VERSION', '1.10' );
    4242define( 'MFF_PLUGIN', __FILE__ );
    4343define( 'MFF_PLUGIN_DIR', untrailingslashit( dirname( MFF_PLUGIN ) ) );
     
    7979    $_mff = ['loader' => true];
    8080
    81     wp_localize_script( 'masks-form-fields', '_mff', $_mff );
     81    wp_add_inline_script( 'masks-form-fields', 'var _mff='.json_encode($_mff), 'before' );
    8282
    8383    do_action( 'mff_enqueue_scripts' );
  • masks-form-fields/tags/1.10/readme.txt

    r2988575 r3064012  
    33Donate link: https://ivanpetermann.com/donation
    44Tags: email, mask, form, input, field, phone, masks, fields, petermann
    5 Requires at least: 3.9
    6 Tested up to: 6.4
     5Requires at least: 4.5
     6Tested up to: 6.5
    77Requires PHP: 5.6
    8 Stable tag: 1.9
     8Stable tag: 1.10
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676== Changelog ==
    7777
     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
    7883= 1.9 =
    7984* Fixed conflict with another library.
  • masks-form-fields/trunk/masks-form-fields.php

    r2988575 r3064012  
    22/*
    33 * Plugin Name: Masks Form Fields
    4  * Version: 1.9
     4 * Version: 1.10
    55 * Plugin URI: https://ivanpetermann.com/masks-form-fields/
    66 * Description: A plugin to add masks in the form’s fields.
    77 * Author: Ivan Petermann
    88 * Author URI: https://ivanpetermann.com
    9  * Requires at least: 3.9
    10  * Tested up to: 6.4
     9 * Requires at least: 4.5
     10 * Tested up to: 6.5
    1111 *
    1212 * Text Domain: masks-form-fields
     
    3939if ( ! defined( 'ABSPATH' ) ) exit;
    4040
    41 define( 'MFF_VERSION', '1.9' );
     41define( 'MFF_VERSION', '1.10' );
    4242define( 'MFF_PLUGIN', __FILE__ );
    4343define( 'MFF_PLUGIN_DIR', untrailingslashit( dirname( MFF_PLUGIN ) ) );
     
    7979    $_mff = ['loader' => true];
    8080
    81     wp_localize_script( 'masks-form-fields', '_mff', $_mff );
     81    wp_add_inline_script( 'masks-form-fields', 'var _mff='.json_encode($_mff), 'before' );
    8282
    8383    do_action( 'mff_enqueue_scripts' );
  • masks-form-fields/trunk/readme.txt

    r2988575 r3064012  
    33Donate link: https://ivanpetermann.com/donation
    44Tags: email, mask, form, input, field, phone, masks, fields, petermann
    5 Requires at least: 3.9
    6 Tested up to: 6.4
     5Requires at least: 4.5
     6Tested up to: 6.5
    77Requires PHP: 5.6
    8 Stable tag: 1.9
     8Stable tag: 1.10
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676== Changelog ==
    7777
     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
    7883= 1.9 =
    7984* Fixed conflict with another library.
Note: See TracChangeset for help on using the changeset viewer.