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

WordPress Trac noreply at wordpress.org
Thu Jan 26 03:46:55 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.2
Component:  Customize         |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"39951"]:
 {{{
 #!CommitTicketReference repository="" revision="39951"
 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.
 See #27403.
 Fixes #39498.
 }}}

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


More information about the wp-trac mailing list