Make WordPress Core

Ticket #50413: 50413.2.diff

File 50413.2.diff, 1.3 KB (added by desrosj, 3 years ago)
  • src/js/_enqueues/wp/password-strength-meter.js

     
    5353                 * as username, first name, email etc.
    5454                 *
    5555                 * @since 3.7.0
    56                  * @deprecated 5.5.0 Use {@see 'userInputBlockList()'} instead.
     56                 * @deprecated 5.5.0 Use {@see 'userInputDisallowedList()'} instead.
    5757                 *
    5858                 * @return {string[]} The array of words to be disallowed.
    5959                 */
    6060                userInputBlacklist : function() {
    6161                        wp.deprecated( 'wp.passwordStrength.userInputBlacklist()', {
    62                                 version: '5.5.0',
    6362                                alternative: 'wp.passwordStrength.userInputDisallowedList()',
    6463                                plugin: 'WordPress',
    6564                                hint: wp.i18n.__( 'Please consider writing more inclusive code.' )
  • tests/phpunit/tests/admin/includesSchema.php

     
    159159                                        'use_quicktags' => '1',
    160160                                ),
    161161                                array(
    162                                         // This option disallowed and should never exist.
     162                                        // This option is disallowed and should never exist.
    163163                                        'use_quicktags' => false,
    164164                                ),
    165165                        ),