Plugin Directory

Changeset 2361099


Ignore:
Timestamp:
08/14/2020 01:03:48 PM (6 years ago)
Author:
aprokopenko
Message:

WordPress 5.5. compatibility

Location:
just-custom-fields
Files:
158 added
6 edited

Legend:

Unmodified
Added
Removed
  • just-custom-fields/trunk/components/collection/JustField_Collection.php

    r1646707 r2361099  
    230230            'jcf_collections',
    231231            jcf_plugin_url('components/collection/assets/collection.js'),
    232             array( 'jquery' )
     232            array( 'jquery', 'jquery-migrate' )
    233233        );
    234234        wp_enqueue_script('jcf_collections');
  • just-custom-fields/trunk/controllers/AdminController.php

    r1646707 r2361099  
    6868            $slug,
    6969            jcf_plugin_url('assets/just_custom_fields.js'),
    70             array( 'jquery', 'json2', 'jquery-form', 'jquery-ui-sortable' )
     70            array( 'jquery', 'json2', 'jquery-form', 'jquery-ui-sortable', 'jquery-migrate' )
    7171        );
    7272        wp_enqueue_script($slug);
     
    104104            'jcf_edit_post',
    105105                jcf_plugin_url('assets/edit_post.js'),
    106                 array( 'jquery', 'tags-box' )
     106                array( 'jquery', 'tags-box', 'jquery-migrate' )
    107107        );
    108108
  • just-custom-fields/trunk/controllers/TaxonomyController.php

    r1646707 r2361099  
    208208            'jcf_edit_taxonomy',
    209209            jcf_plugin_url('assets/edit_taxonomy.js'),
    210             array( 'jquery' )
     210            array( 'jquery', 'jquery-migrate' )
    211211        );
    212212        wp_enqueue_script('jcf_edit_taxonomy');
  • just-custom-fields/trunk/core/JustField.php

    r1646707 r2361099  
    324324        $slug = trim($slug);
    325325
    326         if ( !empty($slug) && $slug{0} != '_' && !$this->isCollectionField() ) {
     326        if ( !empty($slug) && '_' != $slug[0] && !$this->isCollectionField() ) {
    327327            $slug = '_' . $slug;
    328328        }
  • just-custom-fields/trunk/just-custom-fields.php

    r2031477 r2361099  
    77Author: JustCoded / Alex Prokopenko
    88Author URI: http://justcoded.com/
    9 Version: 3.3.1
     9Version: 3.3.2
    1010*/
    1111define('JCF_ROOT', dirname(__FILE__));
  • just-custom-fields/trunk/readme.txt

    r2031477 r2361099  
    77Author URI: http://justcoded.com/
    88Requires at least: 4.7
    9 Tested up to: 5.0.3
     9Tested up to: 5.5
    1010Stable tag: trunk
    1111License: GNU General Public License v2
     
    8585
    8686== Changelog ==
     87* Version 3.3.2 - 12 August 2020
     88    * Issue fix: Added jQuery migrate for dependents scripts
     89    * Tests: New tests with WordPress 5.5
    8790* Version 3.3.1 - 15 February 2019
    8891    * Bug: Simplemedia shortcode do not display a link if it's not an image.
Note: See TracChangeset for help on using the changeset viewer.