[wp-trac] [WordPress Trac] #50413: Update code and comments to remove "blacklist" and "whitelist"
WordPress Trac
noreply at wordpress.org
Tue Jun 23 13:32:49 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 SergeyBiryukov):
Replying to [comment:20 ocean90]:
> `add_option_allowed_list()` and `remove_option_allowed_list()` sound a
bit odd now. Thoughts on using `add_allowed_options()` and
`remove_allowed_options()` instead?
`(add|remove)_allowed_options()` seems better to me too, would be
consistent with the `$allowed_options` global.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50413#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list