[wp-hackers] switch_themes capability and managing widgets
Dion Hulse (dd32)
wordpress at dd32.id.au
Fri Jun 24 02:36:47 UTC 2011
It's not the same capability, Switching themes is controlled by
switch_themes, Editing Widgets, Menu's and Theme options is controlled by
By default, Only the administrator has the edit_theme_options capability,
this comes down to most editors on sites not being trusted to modify any
site specific settings.
You should be able to use any role manager/capability editor to either add
the theme options cap to the editor role, or create a site owner role with
the required caps.
On 24 June 2011 03:25, Steve Taylor <steve at sltaylor.co.uk> wrote:
> A quickie... Does anyone know the rationale behind switching themes
> and editing widgets being controlled by the same capability? As far as
> I can tell it is the same capability for these two things.
> Only, I have clients to whom I want to give the Editor role (so they
> don't control anything site-critical like managing plugins), and the
> site is based around a custom theme that basically shouldn't be
> switched. But as they're editors, naturally they need to manage the
> widgets, the content and settings etc.
> Am I missing something or do I have to give them the possibility of
> switching themes in order that they manage widgets?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers