Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#17062 closed enhancement (wontfix)

Enable Theme Editor for current theme in a Network Subsite

Reported by: dalesaurus's profile dalesaurus Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Multisite Keywords: close
Focuses: Cc:


Currently in WP 3.1* the Theme Editor has been moved to the Network Admin and is removed from all subsites. This feature request is to enable the Theme Editor in a subsite but restrict editing to the currently activated theme.

Change History (3)

#1 follow-up: @ocean90
13 years ago

  • Component changed from General to Multisite
  • Keywords close added

But the changes are global, means each site with the same theme would have the change, also if site 2 doesn't want it. So it's placed in the network admin.

#2 in reply to: ↑ 1 @UnwashedMeme
13 years ago

  • Cc UnwashedMeme added

Replying to ocean90:

But the changes are global, means each site with the same theme would have the change

While true, doesn't necessarily matter. My use case (and described in forum post that gives a workaround hack) has each site with their own theme that only they have access to.

Suggested enhancement: When enabling a theme for use with a site, have the option to allow editing.

In Network Admin > Sites > Themes Tab: When a row is enabled have a second toggle between Allow Editing/Disallow Editing.

This way you can still have 'public' themes that no one can mess up, but 'private' themes can still be edited by a site owner.

#3 @nacin
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

It's a security issue to do this. You can't allow non-super admins access to the code.

You can do this with a plugin. Doesn't belong in core though.

Note: See TracTickets for help on using tickets.