[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 08:15:35 UTC 2017


#42525: PHP notice spawns on admin welcome panel if a user haven't 'customize'
capability
----------------------------+-----------------------------
 Reporter:  SadDeveloper    |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.9
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 `Notice: Undefined variable: customize_themes_link in wp-
 admin/includes/dashboard.php on line 1577` spawns if a user have the
 capability to `edit_theme_options` but not to `customize`. Seems that bug
 is introduced in https://core.trac.wordpress.org/changeset/41699.

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


More information about the wp-trac mailing list