#42525 closed defect (bug) (fixed)
PHP notice spawns on admin welcome panel if a user haven't 'customize' capability
| Reported by: | SadDeveloper | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Administration | Version: | 4.9 |
| Severity: | normal | Keywords: | has-patch commit dev-reviewed |
| Cc: | Focuses: | administration |
Description (last modified by )
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].
Attachments (4)
Change History (13)
#1
@
9 years ago
- Keywords needs-patch added
- Milestone Awaiting Review → 4.9
- Owner set to
- Status new → assigned
@
9 years ago
I modified the var again. If the user can 'install_themes' create the var & show the info text.
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
9 years ago
#6
@
9 years ago
@westonruter 42525.3.diff would still link to customize.php even if the user can't customize. 42525.4.diff falls back to admin_url( 'themes.php' ).
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the report!
@westonruter Wanna grab this one?