Plugin Directory

Changeset 3418100


Ignore:
Timestamp:
12/12/2025 10:09:31 AM (4 months ago)
Author:
azaozz
Message:

Test jQuery Updates: Update to use jQuery 4.0.0-rc.1 and jQuery Migrate 4.0.0-beta.1.

Location:
wp-jquery-update-test/trunk
Files:
2 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • wp-jquery-update-test/trunk/class_wp_jquery_update_test.php

    r3134497 r3418100  
    4242       
    4343        // Use 'jquery-core' 4.0.0-beta, and 'jquery-migrate' 3.5.0.
    44         self::set_script( $scripts, 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '4.0.0-beta.2' );
    45         self::set_script( $scripts, 'jquery-core', $assets_url . 'jquery-4.0.0-beta.2.js', array(), '4.0.0-beta.2' );
    46         self::set_script( $scripts, 'jquery-migrate', $assets_url . 'jquery-migrate-3.5.2.js', array(), '3.5.2' );
     44        self::set_script( $scripts, 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '4.0.0-rc.1' );
     45        self::set_script( $scripts, 'jquery-core', $assets_url . 'jquery-4.0.0-rc.1.js', array(), '4.0.0-rc.1' );
     46        self::set_script( $scripts, 'jquery-migrate', $assets_url . 'jquery-migrate-4.0.0-beta.1.js', array(), '4.0.0-beta.1' );
    4747    }
    4848
     
    8181
    8282        <p>
    83             <?php _e( 'This plugin is intended for testing of jQuery version 4.0.0-beta before updating it in WordPress.', 'wp-jquery-update-test' ); ?>
     83            <?php _e( 'This plugin is intended for testing of jQuery version 4.0.0 before updating it in WordPress.', 'wp-jquery-update-test' ); ?>
    8484            <?php _e( 'It is not intended for use in production.', 'wp-jquery-update-test' ); ?>
    8585        </p>
    8686
    8787        <p>
    88             <?php _e( 'Currently jQuery 4.0.0-beta.2 and jQuery Migrate 3.5.2 are included. An updated version of jQuery UI may be included when it becomes available.', 'wp-jquery-update-test' ); ?>
     88            <?php _e( 'Currently jQuery 4.0.0-rc.1 and jQuery Migrate 4.0.0-beta.1 are included. An updated version of jQuery UI may be included when it becomes available.', 'wp-jquery-update-test' ); ?>
    8989        </p>
    9090       
  • wp-jquery-update-test/trunk/readme.txt

    r3226546 r3418100  
    33Tags: jquery
    44Requires at least: 6.5
    5 Tested up to: 6.8
    6 Stable tag: 3.0.2
     5Tested up to: 6.9
     6Stable tag: 3.0.3
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    1313== Description ==
    1414
    15 Test jQuery Updates is an official plugin by the WordPress team that is intended for testing of jQuery and jQuery UI before updating them in WordPress. It is not intended for use in production.
     15Test jQuery Updates is an official plugin by the WordPress team that is intended for testing of jQuery before updating it in WordPress. It is not intended for use in production.
    1616
    17 Version 3.0 of the plugin is intended for testing of jQuery 4.0.0 beta in WordPress 6.5, 6.6, 6.7, and 6.8.
     17Version 3.0.2 of the plugin is intended for testing of jQuery 4.0.0-rc.1 in WordPress 6.9 and later.
    1818
    1919If you find a bug in a jQuery related script [please report it](https://github.com/WordPress/wp-jquery-update-test/issues).
     
    2424
    2525== Changelog ==
     26
     27= 3.0.3 =
     28* Update for testing with jQuery 4.0.0-rc.1 and jQuery Migrate 4.0.0-beta.1.
    2629
    2730= 3.0.2 =
  • wp-jquery-update-test/trunk/wp-jquery-update-test.php

    r3226546 r3418100  
    44 * Plugin URI: https://wordpress.org/plugins/wp-jquery-update-test
    55 * Description: A feature plugin to help with testing updates of the jQuery and jQuery UI JavaScript libraries (not intended for use in production).
    6  * Version: 3.0.2
     6 * Version: 3.0.3
    77 * Requires at least: 6.5
    8  * Tested up to: 6.8
    98 * Requires PHP: 7.0
    109 * Author: The WordPress Team
    1110 * Author URI: https://wordpress.org
    12  * Contributors: wordpressdotorg, azaozz
    1311 * License: GPLv2
    1412 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2119}
    2220
    23 // Only for WP 6.5, 6.6, and 6.7 (alpha, beta, RC, and release)
    24 if ( version_compare( $GLOBALS['wp_version'], '6.5', '>=' ) && version_compare( $GLOBALS['wp_version'], '6.9-alpha', '<' ) ) {
     21// Only for WP 6.5 - 7.0 (alpha, beta, RC, and release)
     22if ( version_compare( $GLOBALS['wp_version'], '6.5', '>=' ) && version_compare( $GLOBALS['wp_version'], '7.1-alpha', '<' ) ) {
    2523    include_once __DIR__ . '/class_wp_jquery_update_test.php';
    2624}
Note: See TracChangeset for help on using the changeset viewer.