[wp-trac] Re: [WordPress Trac] #2378: Multiple installs sharing a user table don't create usermeta caps for all installs

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 1 12:06:16 GMT 2006


#2378: Multiple installs sharing a user table don't create usermeta caps for all
installs
----------------------------+-----------------------------------------------
       Id:  2378            |      Status:  reopened                
Component:  Administration  |    Modified:  Sat Apr  1 12:06:16 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  ringmaster              
----------------------------+-----------------------------------------------
Comment (by Denney):

 I used the fix posted by ringmaster and it has worked perfectly. I set the
 'CUSTOM_USER_TABLE' and 'CUSTOM_USER_META_TABLE' defines in wp-config.php
 like so:

 define('CUSTOM_USER_TABLE', 'users');
 define('CUSTOM_USER_META_TABLE', 'usermeta');

 Added the couple lines of code from ringmasters fix into the
 capabilities.php file and it worked like a treat. I have also modified the
 installation file to allow for multiple installations using the same user
 database.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2378>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list