#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 |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Administration | Keywords: | has-patch commit dev-reviewed |
Focuses: | administration | Cc: |
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
@
7 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 4.9
- Owner set to westonruter
- Status changed from new to assigned
@
7 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.
7 years ago
#3
@
7 years ago
- Keywords has-patch added; needs-patch removed
- Status changed from assigned to accepted
#6
@
7 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.
Thanks for the report!
@westonruter Wanna grab this one?