Changeset 14866 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 05/25/2010 12:13:03 AM (16 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ms-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes
-
Property
svn:ignore
set to
.functions.php.swp
-
Property
svn:ignore
set to
-
trunk/wp-includes/ms-functions.php
r14844 r14866 1210 1210 */ 1211 1211 function global_terms( $term_id, $deprecated = '' ) { 1212 global $wpdb, $global_terms_recurse; 1212 global $wpdb; 1213 static $global_terms_recurse; 1213 1214 1214 1215 if ( !global_terms_enabled() ) … … 1216 1217 1217 1218 // prevent a race condition 1219 $recurse_start = false; 1218 1220 if ( !isset( $global_terms_recurse ) ) { 1219 1221 $recurse_start = true; … … 1221 1223 } elseif ( 10 < $global_terms_recurse++ ) { 1222 1224 return $term_id; 1223 $recurse_start = false;1224 1225 } 1225 1226
Note: See TracChangeset
for help on using the changeset viewer.