[wp-trac] [WordPress Trac] #39498: Customizer edit shortcuts are unstyled if user can't `edit_theme_options`

WordPress Trac noreply at wordpress.org
Tue Feb 21 06:53:20 UTC 2017


#39498: Customizer edit shortcuts are unstyled if user can't `edit_theme_options`
------------------------------------------+--------------------------
 Reporter:  dlh                           |       Owner:  westonruter
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.7.3
Component:  Customize                     |     Version:  4.7
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+--------------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40095"]:
 {{{
 #!CommitTicketReference repository="" revision="40095"
 Customize: Always enqueue `customize-preview` stylesheet in the customizer
 preview to style selective refresh and visual edit shortcuts.

 Enqueues the style along with the `customize-preview` script in the
 manager instead of via the `widgets` and `nav_menus` components, ensuring
 that the stylesheet is loaded for users who cannot manage widgets or nav
 menus.

 Props dlh, westonruter.
 Merges [39951] to the 4.7 branch.
 See #27403.
 Fixes #39498.
 }}}

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


More information about the wp-trac mailing list