[wp-trac] [WordPress Trac] #54916: Admin panel's "Customizer" sub menu is replaced with "Widgets" for block based themes
WordPress Trac
noreply at wordpress.org
Thu Mar 17 20:08:59 UTC 2022
#54916: Admin panel's "Customizer" sub menu is replaced with "Widgets" for block
based themes
-------------------------------------+-----------------------
Reporter: Rufus87 | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.9.3
Component: Administration | Version: 5.9
Severity: major | Resolution:
Keywords: 2nd-opinion needs-patch | Focuses:
-------------------------------------+-----------------------
Changes (by audrasjb):
* keywords: has-patch 2nd-opinion => 2nd-opinion needs-patch
* owner: (none) => audrasjb
* status: new => accepted
Comment:
As from @hellofromtonya’s comment in the existing PR, moving the widget
position from 7 to 8 will probably introduce other regressions, so it’s
better to try to find another option, something doable for a point
release.
I’d suggest to go with @ironprogrammer’s proposal:
> Another option could be to remove the static position of that menu item.
It would then fall in place where it currently is in a classic theme, or
be “pushed down” by any extenders who are attempting to prioritize new
menu items or set an explicit order. Worst case in this scenario is that
“Widgets” doesn’t appear in an exact slot. But the benefit is that it
would no longer be subject to being overwritten due to specific indexes.
…and we can still use a wp_is_block_theme() check to make sure this is
only applied to block based themes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54916#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list