WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#13290 closed task (blessed) (fixed)

Use edit_theme_options cap

Reported by: nacin Owned by: nacin
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

Added in [14111]. We should use this instead of switch_themes.

Attachments (1)

13290.diff (12.2 KB) - added by nacin 10 years ago.
Use for widgets, menus, background, header. At bit wonky, especially since themes.php now handles two caps. Needs review.

Download all attachments as: .zip

Change History (3)

@nacin
10 years ago

Use for widgets, menus, background, header. At bit wonky, especially since themes.php now handles two caps. Needs review.

#1 @nacin
10 years ago

  • Keywords has-patch added
  • Status changed from new to accepted

This patch needs a sanity check, in particular how I handled themes.php.

#2 @nacin
10 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [14581]) Use the edit_theme_options capability. fixes #13290.

Note: See TracTickets for help on using tickets.