[wp-trac] [WordPress Trac] #54683: Allow the Customize admin bar node to show on the front-end when using a block theme if any plugins use the Customizer.

WordPress Trac noreply at wordpress.org
Sat Dec 25 03:15:31 UTC 2021


#54683: Allow the Customize admin bar node to show on the front-end when using a
block theme if any plugins use the Customizer.
---------------------------------------+-----------------------------
 Reporter:  pbiron                     |       Owner:  SergeyBiryukov
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  5.9
Component:  Toolbar                    |     Version:  trunk
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52414" 52414]:
 {{{
 #!CommitTicketReference repository="" revision="52414"
 Toolbar: Show the Customize link on front end when using a block theme if
 any plugins use the Customizer.

 In WordPress 5.9, when a block theme is being used, the `Appearance →
 Customize` admin menu item is not present unless a plugin uses the
 Customizer.

 The Customize admin bar node should be shown on the front end if any
 plugins are using the Customizer, even if the current theme is a block
 theme.

 This commit mirrors a similar check in the admin menu to determine if the
 Customize link should be displayed.

 Follow-up to [52069], [52134], [52158], [52178].

 Props pbiron, audrasjb, sabernhardt, costdev.
 Fixes #54683.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54683#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list