[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:03:34 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:  accepted
 Priority:  normal                         |   Milestone:  4.9
Component:  Administration                 |     Version:  4.9
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch commit dev-feedback  |     Focuses:  administration
-------------------------------------------+-----------------------------
Description changed by ocean90:

Old description:

> `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.

New description:

 `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 [41699].

--

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


More information about the wp-trac mailing list