Forum Replies Created

Viewing 1 replies (of 1 total)
  • Figured out a workaround in WordPress 2.2:

    1) Add new keys to the usermeta table in the database that corresponds to your prefix. For example, if your usermeta table is “wp_usermeta”, then you probably already have keys in there for “wp_capabilities” and “wp_user_level” for each user (except admin, which doesn’t have wp_user_level). Copy those rows to a new key, named “wp2_capabilities” and “wp2_user_level” (assuming your second blog has “w2_” as the prefix. I haven’t extensively tested this, it may be a pain to add/register new users.

    2) The workaround in the code: edit line 169 from:
    $this->cap_key = $wpdb->prefix . 'capabilities';
    to:
    $this->cap_key = 'wp_capabilities';

    Hope this helps someone!

Viewing 1 replies (of 1 total)