[wp-trac] [WordPress Trac] #50413: Update code and comments to remove "blacklist" and "whitelist"
WordPress Trac
noreply at wordpress.org
Thu Jul 23 03:13:04 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 commit | Focuses:
---------------------------------------------+----------------------
Changes (by jorbin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"48575" 48575]:
{{{
#!CommitTicketReference repository="" revision="48575"
General: Update code for readability and inclusion
There are two pieces in here:
1) The update to change blacklist to blocklist is moved to
disallowed_list. "Block" has a meaning in our code, and there could be
ambiguity between this code and code related to blocks.
2) This improves backwards compatibility for code that was accessing the
now deprecated code.
Previously: [48477], [48405], [48400], [48121], [48122], [48124], [48142],
[48566]
Props: desrosj, SergeyBiryukov, johnjamesjacoby
Fixes: #50413
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50413#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list