WordPress.org

Make WordPress Core

Changeset 16231


Ignore:
Timestamp:
11/08/10 08:16:28 (3 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r16221 r16231  
    5454 
    5555    $current_screen = (object) $_GET['list_args']['screen']; 
     56    //TODO fix this in a better way see #15336 
     57    $curent_screen['is_network'] = (bool) $curent_screen['is_network']; 
     58    $curent_screen['is_user'] = (bool) $curent_screen['is_user']; 
     59     
    5660    $wp_list_table = get_list_table( $_GET['list_args']['class'] ); 
    5761    if ( ! $wp_list_table ) 
Note: See TracChangeset for help on using the changeset viewer.