Hello everyone. This helped me alot. I messed up when copypasting some of the code so i thought i’d make a clean version without typos. Here it is:
In ALL of my installs:
in wp-config.php:
added just above /* That’s all, stop editing! Happy blogging. */:
define('CUSTOM_CAPABILITIES_PREFIX', 'wp_');
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';
}
In all installs EXCEPT the original:
in wp-config.php:
added just above /* That’s all, stop editing! Happy blogging. */:
define ('WPLANG', '');
define('CUSTOM_USER_TABLE', 'wp_users');
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');
AND replaced:
$table_prefix = 'wp_';
with
$table_prefix = 'anyotherprefix_' //the prefix has to be unique for each installation