[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:13:09 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
-------------------------------------------+-----------------------------
Comment (by ocean90):
@westonruter [attachment:42525.3.diff] would still link to `customize.php`
even if the user can't `customize`. [attachment:42525.3.diff] falls back
to `admin_url( 'themes.php' )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42525#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list