Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: WPMU 2.6.1 Integration Success with 1.0-alhpa-2

musnake –

I think this must be a big source of the problem for MU and getting it to work with bbPress. And why some get integration to work (standalone) and other can’t (wpmu).

In the WP standalone install, it does indeed appear to be there (is that where you got the code above?).

In WPMU 2.6.2 (https://mu.wordpress.org/latest.zip) wp-settings.php, line 317:

// Used to guarantee unique hash cookies
$cookiehash = '';
/**
* Used to guarantee unique hash cookies
* @since 1.5
*/
define('COOKIEHASH', '' );

$wpdb->hide_errors();
if( defined( 'MUPLUGINDIR' ) == false )
define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );

if( is_dir( ABSPATH . MUPLUGINDIR ) ) {
if( $dh = opendir( ABSPATH . MUPLUGINDIR ) ) {
while( ( $plugin = readdir( $dh ) ) !== false ) {
if( substr( $plugin, -4 ) == '.php' ) {
include_once( ABSPATH . MUPLUGINDIR . '/' . $plugin );
}
}
}
}

Want to know the funny part? I actually debugged it instead of going to the source in WP standalone. At least I came to the same conclusion. This should probably be reported as an MU bug – I’ll let Donncha know.

Skip to toolbar