[wp-trac] [WordPress Trac] #42525: PHP notice spawns on admin welcome panel if a user haven't 'customize' capability

WordPress Trac noreply at wordpress.org
Mon Nov 13 19:25:26 UTC 2017


#42525: PHP notice spawns on admin welcome panel if a user haven't 'customize'
capability
-------------------------------------------+-----------------------------
 Reporter:  SadDeveloper                   |       Owner:  westonruter
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  4.9
Component:  Administration                 |     Version:  4.9
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:  administration
-------------------------------------------+-----------------------------

Comment (by westonruter):

 In [changeset:"42170"]:
 {{{
 #!CommitTicketReference repository="" revision="42170"
 Customize: Prevent PHP notice on theme-switch dashboard welcome link (and
 link to themes admin screen) when user cannot `customize`.

 Props skostadinov, ocean90.
 Amends [41699].
 See #42050.
 Fixes #42525 for 4.9.
 }}}

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


More information about the wp-trac mailing list