mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
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:
parent
fc764ebc45
commit
417830b4e6
@ -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' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user