Changeset 14867 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 05/25/2010 12:31:07 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r14866 r14867 1211 1211 function global_terms( $term_id, $deprecated = '' ) { 1212 1212 global $wpdb; 1213 static $global_terms_recurse ;1213 static $global_terms_recurse = null; 1214 1214 1215 1215 if ( !global_terms_enabled() ) … … 1218 1218 // prevent a race condition 1219 1219 $recurse_start = false; 1220 if ( !isset( $global_terms_recurse )) {1220 if ( $global_terms_recurse === null ) { 1221 1221 $recurse_start = true; 1222 1222 $global_terms_recurse = 1; … … 1259 1259 } 1260 1260 if( $recurse_start ) 1261 unset( $global_terms_recurse );1261 $global_terms_recurse = null; 1262 1262 1263 1263 return $global_id;
Note: See TracChangeset
for help on using the changeset viewer.