From bad9e9669de473b74f87b085b2d7f2842add3d7a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 23 Feb 2024 10:38:13 +0000 Subject: [PATCH] Build/Test Tools: Update JSHint config to remove deprecated options. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes deprecated options that no longer have any effect, and updates the targeted ES version in line with WordPress’ browser support. This change mostly allows new code to properly use trailing commas, as added by the Prettier formatter. Future efforts should rather go towards adopting ESLint for code formatting, see #31823. Props netweb. Fixes #28236. Built from https://develop.svn.wordpress.org/trunk@57702 git-svn-id: http://core.svn.wordpress.org/trunk@57203 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/user-profile.js | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/js/user-profile.js b/wp-admin/js/user-profile.js index 466d115fc2..e4f249fe35 100644 --- a/wp-admin/js/user-profile.js +++ b/wp-admin/js/user-profile.js @@ -311,7 +311,7 @@ $('#pass-strength-result').addClass('short').html( pwsL10n.mismatch ); break; default: - $('#pass-strength-result').addClass('short').html( pwsL10n['short'] ); + $('#pass-strength-result').addClass('short').html( pwsL10n.short ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 9150c47cee..c2919b6866 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta2-57701'; +$wp_version = '6.5-beta2-57702'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.