The MU forums have moved to WordPress.org

p-includes/wpmu-functions.php line 426 (2 posts)

  1. xiand0
    Blocked
    Posted 17 years ago #

    In
    function get_blogs_of_user( $id, $all = false ) {

    preg_match('/wp_(\d+)_capabilities/', $key, $match);

    totally breaks every wpmu which doesn't have wp_ as the DB prefix.

    Replace with

    preg_match('/'.$wpmuBaseTablePrefix.'(\d+)_capabilities/', $key, $match);

  2. lunabyte
    Member
    Posted 17 years ago #

    http://trac.mu.wordpress.org/

    Add a ticket, please.

About this Topic