Make WordPress Core


Ignore:
Timestamp:
11/23/2010 10:27:05 PM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-themes-list-table.php

    r16438 r16556  
    3030            $this->is_site_themes = ( 'site-themes-network' == $screen->id ) ? true : false;
    3131        }
     32
     33        if ( $this->is_site_themes && ! isset( $this->site_id ) )
     34            $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
    3235
    3336        parent::WP_List_Table( array(
Note: See TracChangeset for help on using the changeset viewer.