Set blog id for site-themes.php AJAX requests.

git-svn-id: https://develop.svn.wordpress.org/trunk@16556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-11-23 22:27:05 +00:00
parent 4fd10f33f0
commit 0f2e7ef602
2 changed files with 4 additions and 1 deletions
@@ -30,6 +30,9 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
$this->is_site_themes = ( 'site-themes-network' == $screen->id ) ? true : false;
}
if ( $this->is_site_themes && ! isset( $this->site_id ) )
$this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
parent::WP_List_Table( array(
'plural' => 'plugins', // @todo replace with themes and add css
) );