[wp-trac] [WordPress Trac] #50413: Update code and comments to remove "blacklist" and "whitelist"
WordPress Trac
noreply at wordpress.org
Tue Jun 23 12:51:36 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 ocean90):
Replying to [comment:19 desrosj]:
> I also noticed that the `wp.deprecated` package indicates that the
provided version will remove the function, not as when it was deprecated.
That will also need to be fixed, and is in [attachment:"50413.2.diff"].
Instead of using `wp.deprecated` I think a simple `window.console.log`
would be sufficient here. This will avoid three more dependencies.
`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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50413#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list