Changeset 674

Show
Ignore:
Timestamp:
07/13/06 11:00:07 (2 years ago)
Author:
donncha
Message:

Match against ?p=x preview urls. (#79)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wpmu-settings.php

    r666 r674  
    7373        if( strpos( $blogname, '/' ) ) 
    7474                $blogname = substr( $blogname, 0, strpos( $blogname, '/' ) ); 
    75         if( strpos( $blogname, '?' ) ) 
     75        if( strpos( " ".$blogname, '?' ) ) 
    7676                $blogname = substr( $blogname, 0, strpos( $blogname, '?' ) ); 
    7777        $blognames = array( 'blog', 'wp-admin', 'wp-includes', 'wp-content', 'files', 'feed' );