Changeset 22015
- Timestamp:
- 09/26/2012 05:02:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-blogs.php
r21979 r22015 521 521 global $wpdb, $wp_roles; 522 522 523 if ( ! $GLOBALS['switched'])523 if ( empty( $GLOBALS['_wp_switched_stack'] ) ) 524 524 return false; 525 525 … … 581 581 */ 582 582 function ms_is_switched() { 583 return $GLOBALS['switched'];583 return ! empty( $GLOBALS['_wp_switched_stack'] ); 584 584 } 585 585
Note: See TracChangeset
for help on using the changeset viewer.