Site Themes cleanup. See #14897.

git-svn-id: https://develop.svn.wordpress.org/trunk@16559 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pete Mall
2010-11-24 00:27:54 +00:00
parent af8f9bf98d
commit 842d059bd1
2 changed files with 3 additions and 7 deletions
@@ -25,12 +25,10 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
$page = $this->get_pagenum();
if ( !isset($this->is_site_themes) ) {
$screen = get_current_screen();
$this->is_site_themes = ( 'site-themes-network' == $screen->id ) ? true : false;
}
$screen = get_current_screen();
$this->is_site_themes = ( 'site-themes-network' == $screen->id ) ? true : false;
if ( $this->is_site_themes && ! isset( $this->site_id ) )
if ( $this->is_site_themes )
$this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
parent::WP_List_Table( array(