[wp-trac] [WordPress Trac] #54524: Obsolete in-code comment (docs) for filter screen_settings
WordPress Trac
noreply at wordpress.org
Sat Nov 27 01:39:39 UTC 2021
#54524: Obsolete in-code comment (docs) for filter screen_settings
---------------------------------+-----------------------------
Reporter: Starbuck | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: trivial | Keywords:
Focuses: accessibility, docs |
---------------------------------+-----------------------------
Ref comment about filter `screen_settings` :
[https://core.trac.wordpress.org/browser/tags/5.8.1/src/wp-admin/includes
/class-wp-screen.php#L1011]:
> This filter is currently only used on the Widgets screen to enable
accessibility mode.
I believe this comment can be removed, because the hook is called for all
admin screens. It was originally added in this changeset and seems to be
an inaccuracy that crept in:
[https://core.trac.wordpress.org/changeset/27256]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54524>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list