Changeset 12800 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 01/22/2010 10:14:22 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r12796 r12800 1 1 <?php 2 /* 3 Helper functions for WPMU 4 */ 2 /** 3 * Multi-site WordPress API 4 * 5 * @package WordPress 6 */ 7 5 8 function load_muplugin_textdomain($domain, $path = false) { 6 9 $locale = get_locale(); … … 126 129 $id = get_id_from_blogname( $id ); 127 130 131 $id = (int) $id; 132 128 133 $all = $getall == true ? '' : 'short'; 129 134 $details = wp_cache_get( $id . $all, 'blog-details' ); 130 135 131 136 if ( $details ) { 132 if ( $details == -1 )137 if ( !is_object($details) && $details == -1 ) 133 138 return false; 134 139 elseif ( !is_object($details) ) // Clear old pre-serialized objects. Cache clients do better with that.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)