Opened 6 years ago
Closed 4 years ago
#3800 closed enhancement (duplicate)
user_level & capabilities tables prefixing need easy configuration
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Optimization | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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)
- Owner changed from anonymous to dbasulto
- Status changed from new to assigned
comment:2
foolswisdom — 6 years ago
- Milestone changed from 2.0.9 to 2.3
comment:3
foolswisdom — 6 years ago
- Milestone changed from 2.3 to 2.5 (future)
- Milestone 2.9 deleted
- Resolution set to duplicate
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.

dp of #8663