[wp-trac] [WordPress Trac] #56053: More filters to remove fields on user profile edit page
WordPress Trac
noreply at wordpress.org
Thu Jun 23 12:15:04 UTC 2022
#56053: More filters to remove fields on user profile edit page
-----------------------------+-----------------------------
Reporter: Mte90 | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
As today, it isn't possible to hide some section excepts the Admin Color
Scheme picker (that has a filter).
Like https://github.com/WordPress/wordpress-
develop/blob/b316c8b25fc71920d89ee37ee26609a77b2a305a/src/wp-admin/user-
edit.php#L303 there is a check if the filter exists and that section can
be hidden, but other sections like Visual Editor or Keyboard shortcuts
(part of Personal settings) require some JS to hide them.
Implement filters to let customize what to show not just based on
capabilities, simplify the customization of that page without reimplement
it from scratch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56053>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list