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

WordPress Trac noreply at wordpress.org
Wed Jul 22 18:50:46 UTC 2020


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

Comment (by desrosj):

 In [changeset:"48566" 48566]:
 {{{
 #!CommitTicketReference repository="" revision="48566"
 General: Rename `remove_option_allowed_list()` to
 `remove_allowed_options()`.

 This was missed in [48142] which renamed `add_option_allowed_list()` to
 `add_allowed_options()` for better readability. The two functions should
 have consistent names.

 See #50413.
 }}}

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


More information about the wp-trac mailing list