[wp-trac] [WordPress Trac] #50413: Update code and comments to remove "blacklist" and "whitelist"
WordPress Trac
noreply at wordpress.org
Tue Jul 14 12:31:37 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:
--------------------------------------+----------------------
Comment (by desrosj):
In [changeset:"48477" 48477]:
{{{
#!CommitTicketReference repository="" revision="48477"
General: Rename the `$new_whitelist_options` global variable.
This change renames `$new_whitelist_options` to `$new_allowed_options`.
This makes the variable’s purpose more clear, and promotes using more
inclusive language.
For backwards compatibility, the new variable is passed by reference to
the old one.
Follow up to [48121].
Props ayeshrajans, desrosj, jorbin, SergeyBiryukov.
See #50413.
Fixes #50434.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50413#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list