Make WordPress Core

Opened 7 years ago

Last modified 6 years ago

#39334 new enhancement

Network administrators should be able to enable themes on the site level

Reported by: mista-flo's profile Mista-Flo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-screenshots has-patch needs-testing
Focuses: multisite Cc:

Description

At the WordCamp USA, a suggested idea about themes in a multisite context was to allow network administrators (that have manage_network_themes cap) to network enable themes on the site level.

So I have made a patch to handle this. You can now activate a theme on a site on two actions (first network activate, then activate for the site) on the same page. Maybe it could be better to handle this in just one action, and just network activate the theme if it's not yet activated before site activation.

Attachments (3)

screenshot_39334_ManageThemes.png (721.7 KB) - added by Mista-Flo 7 years ago.
Screenshot with the patch
39334.1.patch (16.1 KB) - added by Mista-Flo 7 years ago.
First patch
39334.2.patch (3.1 KB) - added by Mista-Flo 7 years ago.
Patch 2 : Just handle this in one action

Download all attachments as: .zip

Change History (7)

@Mista-Flo
7 years ago

Screenshot with the patch

@Mista-Flo
7 years ago

First patch

#1 @Mista-Flo
7 years ago

  • Keywords has-screenshots has-patch needs-testing added

@Mista-Flo
7 years ago

Patch 2 : Just handle this in one action

#2 @Mista-Flo
7 years ago

The second patch handle the network activation just before the theme activation if the user can manage_network_themes, so it's handled under the hood, with no changes in the UI, and it's handled in just one action.

Don't know what's the best approach.

#3 @Mista-Flo
6 years ago

  • Component changed from Themes to Networks and Sites

This ticket was mentioned in Slack in #core-multisite by florian-tiar. View the logs.


6 years ago

Note: See TracTickets for help on using tickets.