[wp-trac] [WordPress Trac] #48330: Theme support, removing background image keeps menu item
WordPress Trac
noreply at wordpress.org
Thu Oct 17 13:42:10 UTC 2019
#48330: Theme support, removing background image keeps menu item
-------------------------------+------------------------------
Reporter: kebbet | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion close | Focuses: ui
-------------------------------+------------------------------
Changes (by desrosj):
* keywords: => 2nd-opinion close
Comment:
Hi @kebbet,
Can you confirm that the menu item you are referring to is the `Appearance
> Background` link? If so, I am able to reproduce this.
I am not sure that there is a good way to fix this, though. The Customizer
is not loaded unless the user is actually in the Customizer, so the admin
menu would not be able to know if a plugin or theme is removing the
background image section.
To me, this seems like the plugin or theme should also remove this admin
submenu item.
Can you talk a bit about your use case and why you're removing the
Customizer section for background images instead of removing/not
registering theme support?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48330#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list