Make WordPress Core

Opened 10 years ago

Last modified 8 months ago

#39334 new enhancement

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

Reported by: Mista-Flo Owned by:
Priority: normal Milestone: Awaiting Review
Component: Networks and Sites Version:
Severity: normal Keywords: has-screenshots has-patch needs-refresh
Cc: Focuses: multisite

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 10 years ago.
Screenshot with the patch
39334.1.patch​ (16.1 KB ) - added by Mista-Flo 10 years ago.
First patch
39334.2.patch​ (3.1 KB ) - added by Mista-Flo 10 years ago.
Patch 2 : Just handle this in one action

Download all attachments as: .zip

Change History (8)

@Mista-Flo
10 years ago

Screenshot with the patch

@Mista-Flo
10 years ago

First patch

#1 @Mista-Flo
10 years ago

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

@Mista-Flo
10 years ago

Patch 2 : Just handle this in one action

#2 @Mista-Flo
10 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
9 years ago

  • Component Themes → Networks and Sites

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


9 years ago

#5 @huzaifaalmesbah
8 months ago

  • Keywords needs-refresh added; needs-testing removed

I attempted to apply the available patch (39334.2.patch) against current trunk (7.0-alpha-61215-src), but the patch task could not find or apply any valid changes.

Because the patch cannot be applied, testing is not possible at this time. It appears the patch is outdated or no longer compatible with current core.

Removing needs-testing and adding needs-refresh so the patch can be updated before further testing.

Note: See TracTickets for help on using tickets.