Make WordPress Core

Opened 11 years ago

Closed 9 years ago

#3800 closed enhancement (duplicate)

user_level & capabilities tables prefixing need easy configuration

Reported by: dbasulto Owned by: dbasulto
Milestone: Priority: normal
Severity: normal Version:
Component: Optimization Keywords:
Focuses: Cc:


If you want to share users between 2 WP installs you can change the table prefixes for users and users_meta in wp-config.php. But you also need to make sure it points to the right user_level and capabilities tables, that are a bit harder to change, needing to edit capabilities.php

Perhaps a $users_prefix in wp-config (if set) will make WP look for user tables in another install tables. If it's not set, then it uses the default prefix, looking for users on its own tables.

Change History (4)

#1 @dbasulto
11 years ago

  • Owner changed from anonymous to dbasulto
  • Status changed from new to assigned

#2 @foolswisdom
11 years ago

  • Milestone changed from 2.0.9 to 2.3

#3 @foolswisdom
11 years ago

  • Milestone changed from 2.3 to 2.5 (future)

#4 @Denis-de-Bernardy
9 years ago

  • Milestone 2.9 deleted
  • Resolution set to duplicate
  • Status changed from assigned to closed

dp of #8663

Note: See TracTickets for help on using tickets.