WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 5 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:

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)

comment:1 dbasulto7 years ago

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

comment:2 foolswisdom7 years ago

  • Milestone changed from 2.0.9 to 2.3

comment:3 foolswisdom7 years ago

  • Milestone changed from 2.3 to 2.5 (future)

comment:4 Denis-de-Bernardy5 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.