WPMU: Admin panel for user is not showing up

December 19, 2005 - Leave a Response

Admin panel for user is not showing up within wp-admin/index.php

Find this code n wp-admin/wp-settings.php:

if( defined( “VHOST” ) && constant( “VHOST” ) == ‘yes’ ) {
$current_blog = $wpdb->get_row(“SELECT * FROM $wpdb->blogs WHERE domain = ‘$domain’ AND path = ‘$base’”);
} else {
if( $base == ‘/’ ) {

// blash blah

and change accordingly with this:

if( defined( “VHOST” ) && constant( “VHOST” ) == ‘yes’ ) {
$current_blog = $wpdb->get_row(“SELECT * FROM $wpdb->blogs WHERE domain = ‘$domain’ AND path = ‘$base’”);
} else {
if( $base == ‘/’ ) {
$pos = strpos($_SERVER[ 'REQUEST_URI' ], ‘?’);
if (!$pos)
$wpblog = substr( $_SERVER[ 'REQUEST_URI' ], 1 );
else
$wpblog = substr( $_SERVER[ 'REQUEST_URI' ], 1, $pos );

} else {
$wpblog = str_replace( $base, ”, $_SERVER[ 'REQUEST_URI' ] );
}
New bug found within wordpress.com during the writing proses of this blog:

  • tinyMCE object doesn’t found in from popup

Wishlist:

  • A code format button on tinyMCE post editor