Ensure that booleans are booleans for now. See #15336.

git-svn-id: https://develop.svn.wordpress.org/trunk@16231 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-11-08 08:16:28 +00:00
parent fc764ebc45
commit 417830b4e6
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ switch ( $action = $_GET['action'] ) :
case 'fetch-list' :
$current_screen = (object) $_GET['list_args']['screen'];
//TODO fix this in a better way see #15336
$curent_screen['is_network'] = (bool) $curent_screen['is_network'];
$curent_screen['is_user'] = (bool) $curent_screen['is_user'];
$wp_list_table = get_list_table( $_GET['list_args']['class'] );
if ( ! $wp_list_table )
die( '0' );