Make WordPress Core

Changeset 16592


Ignore:
Timestamp:
11/26/2010 12:20:18 AM (14 years ago)
Author:
PeteMall
Message:

Site themes cleanup. See #14897

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-themes.php

    r16559 r16592  
    8585}
    8686
     87if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) {
     88    wp_redirect( wp_get_referer() );
     89    exit();
     90}
     91
    8792add_thickbox();
    8893add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes per page (screen options)' ) ) );
     
    9297$submenu_file = 'sites.php';
    9398
    94 require('../admin-header.php');
    95 
    96 require_once(ABSPATH . 'wp-admin/admin-header.php');
    97 ?>
     99require('../admin-header.php'); ?>
    98100
    99101<div class="wrap">
     
    110112?>
    111113</h3>
    112 <p class="description"><?php _e( 'Network enabled themes are not shown on this screen.' ) ?></p>
     114<p><?php _e( 'Network enabled themes are not shown on this screen.' ) ?></p>
    113115
    114116<form method="get" action="">
Note: See TracChangeset for help on using the changeset viewer.