Changeset 655
- Timestamp:
- 07/11/06 15:38:29 (2 years ago)
- Files:
-
- trunk/wpmu-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wpmu-settings.php
r654 r655 86 86 87 87 // is the request for a page of the main blog? We need to cache this information somewhere to save a request 88 $pages = $wpdb->get_col( "SELECT post_nameFROM {$table_prefix}1_posts WHERE post_type='page'" );88 $pages = $wpdb->get_col( "SELECT LOWER(post_name) FROM {$table_prefix}1_posts WHERE post_type='page'" ); 89 89 90 90 if( is_array( $pages ) == false ) 91 91 return false; 92 92 93 if( in_array( $blogname, $pages ) ) {93 if( in_array( strtolower( $blogname ), $pages ) ) { 94 94 return true; 95 95 } else {
