I have created two Wordpress installs 1) Master 2) Slave
The two installs, Master and Slave, share the same database.
I have followed the steps mentioned in this article: "How to Share Logins and Users Between Multiple WordPress Sites" https://kinsta.com/blog/share-logins-wordpress/
- The database prefix for the first install Master is "wp_master_"
- The database prefix for the second install Slave is "wp_slave_"
The two installs share the same user base "wp_master_users" and "wp_master_usermeta".
In "wp_master_usermeta" table, the user capabilities are stored in
- "wp_master_capabilities" Row for the Master, and
- "wp_slave_capabilities" Row for the Slave
But I want the Slave to use the "wp_master_capabilities" instead of "wp_slave_capabilities"
That is, the user roles on both the installs should be same as that of the Master.
How can this be achieved?