diff --git a/src/js/_enqueues/wp/password-strength-meter.js b/src/js/_enqueues/wp/password-strength-meter.js index 2678d5b9b5..43a38ba403 100644 --- a/src/js/_enqueues/wp/password-strength-meter.js +++ b/src/js/_enqueues/wp/password-strength-meter.js @@ -53,13 +53,12 @@ window.wp = window.wp || {}; * as username, first name, email etc. * * @since 3.7.0 - * @deprecated 5.5.0 Use {@see 'userInputBlockList()'} instead. + * @deprecated 5.5.0 Use {@see 'userInputDisallowedList()'} instead. * * @return {string[]} The array of words to be disallowed. */ userInputBlacklist : function() { wp.deprecated( 'wp.passwordStrength.userInputBlacklist()', { - version: '5.5.0', alternative: 'wp.passwordStrength.userInputDisallowedList()', plugin: 'WordPress', hint: wp.i18n.__( 'Please consider writing more inclusive code.' ) diff --git a/tests/phpunit/tests/admin/includesSchema.php b/tests/phpunit/tests/admin/includesSchema.php index 21feca72c4..4fec944459 100644 --- a/tests/phpunit/tests/admin/includesSchema.php +++ b/tests/phpunit/tests/admin/includesSchema.php @@ -159,7 +159,7 @@ class Tests_Admin_Includes_Schema extends WP_UnitTestCase { 'use_quicktags' => '1', ), array( - // This option disallowed and should never exist. + // This option is disallowed and should never exist. 'use_quicktags' => false, ), ),