WordPress.org

Make WordPress Core

Changeset 48124


Ignore:
Timestamp:
06/22/2020 07:07:57 PM (13 days ago)
Author:
desrosj
Message:

Docs: Small inline documentation corrections following [48121].

Also, remove the version argument from the wp.deprecated() call in password-strength-meter.js. This argument is for specifying the version a feature will be removed, not when the feature was removed.

Props hareesh-pillai.
Fixes #50413.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/password-strength-meter.js

    r48121 r48124  
    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.
     
    6060        userInputBlacklist : function() {
    6161            wp.deprecated( 'wp.passwordStrength.userInputBlacklist()', {
    62                 version: '5.5.0',
    6362                alternative: 'wp.passwordStrength.userInputDisallowedList()',
    6463                plugin: 'WordPress',
  • trunk/tests/phpunit/tests/admin/includesSchema.php

    r48121 r48124  
    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                ),
Note: See TracChangeset for help on using the changeset viewer.