[wp-hackers] switch_themes capability and managing widgets
steve at sltaylor.co.uk
Fri Jun 24 09:47:59 UTC 2011
Many thanks Dion. Should have spent some time digging in the core
source rather than Googling :-\
I've got Justin Tadlock's Members plugin, so the rest is easy :)
On 24 June 2011 03:36, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
> 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
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers