[wp-trac] [WordPress Trac] #50413: Update code and comments to remove "blacklist" and "whitelist"

WordPress Trac noreply at wordpress.org
Tue Jun 23 18:53:16 UTC 2020


#50413: Update code and comments to remove "blacklist" and "whitelist"
--------------------------------------+----------------------
 Reporter:  strangerstudios           |       Owner:  desrosj
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+----------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48142" 48142]:
 {{{
 #!CommitTicketReference repository="" revision="48142"
 General: Rename `(add|remove)_option_allowed_list()` to
 `(add|remove)_allowed_option()`.

 The new names make the purpose more clear. It also adds consistency with
 the `$allowed_options` global variable.

 Also in this change, the `wp-deprecated` dependency has been removed from
 the password strength meter in favor of a `window.console.log()` call to
 avoid adding 3 dependencies for one deprecated notice.

 Props SergeyBiryukov, ocean90, desrosj
 Fixes #50413.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50413#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list