I followed the info in this thread. It was working fine when both of my blogs where running 2.8
I choose to upgrade to 2.8.4 tonight. And I'm no longer able to share the users table on the secondary blog. When I try to do this step:
in wp-includes/capabilities.php:
replaced:
$this->cap_key = $wpdb->prefix . 'capabilities';
with:
if (defined ('CUSTOM_CAPABILITIES_PREFIX')) {
$this->cap_key = CUSTOM_CAPABILITIES_PREFIX . 'capabilities';
}
else { $this->cap_key = $wpdb->prefix . 'capabilities';
}
I get this error:
Parse error: syntax error, unexpected T_CLASS in community/wp-includes/capabilities.php on line 1
This is how I added that code in:
function _init_caps() {
global $wpdb;
if (defined ('CUSTOM_CAPABILITIES_PREFIX')) {
$this->cap_key = CUSTOM_CAPABILITIES_PREFIX . 'capabilities';
}
else { $this->cap_key = $wpdb->prefix . 'capabilities';
}
$this->caps = &$this->{$this->cap_key};
if ( ! is_array( $this->caps ) )
$this->caps = array();
$this->get_role_caps();
}
The code is still left in the wp-config.php files from before. Any ideas?