[wp-trac] Re: [WordPress Trac] #4780: $table_prefix should not be encoded in table_names.

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 20 19:57:54 GMT 2007


#4780: $table_prefix should not be encoded in table_names.
----------------------------+-----------------------------------------------
 Reporter:  docwhat         |        Owner:  anonymous   
     Type:  defect          |       Status:  new         
 Priority:  normal          |    Milestone:  2.4 (future)
Component:  Administration  |      Version:              
 Severity:  normal          |   Resolution:              
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by Otto42):

 No, I believe these are necessary in case you have two or more independent
 blogs sharing one users table with the use of the CUSTOM_USER_TABLE and
 CUSTOM_USER_META_TABLE defines. While the user_roles in the options table
 may not need the table prefix, I think that you would not necessarily want
 a shared userbase to inherit capabilities and such across the usermeta
 table. Also, the draft ID's would break if it was shared across two
 tables.

 Suggest marking this as invalid. It's plugin territory. Also, you should
 not really be changing the $table_prefix to begin with, there's virtually
 no point in doing so.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4780#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list