mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: https://develop.svn.wordpress.org/trunk@18569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -40,7 +40,7 @@ if ( $action ) {
|
||||
check_admin_referer('enable-theme_' . $_GET['theme']);
|
||||
$allowed_themes[ $_GET['theme'] ] = true;
|
||||
update_site_option( 'allowedthemes', $allowed_themes );
|
||||
wp_redirect( add_query_arg( 'enabled', '1', $referer ) );
|
||||
wp_redirect( network_admin_url( 'themes.php?enabled=1' ) );
|
||||
exit;
|
||||
break;
|
||||
case 'disable':
|
||||
|
||||
Reference in New Issue
Block a user