[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:24:52 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
-------------------------------------------+-----------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"42169"]:
 {{{
 #!CommitTicketReference repository="" revision="42169"
 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.
 }}}

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


More information about the wp-trac mailing list