[wp-hackers] Sharing Users/authentication

Stephen Rider wp-hackers at striderweb.com
Sat Aug 25 16:26:40 GMT 2007


They aren't field names:  They are data in the "meta_key" field.   
Nonetheless my question stands:

IS there any legitimate use for the table-prefix to be repeated  
here?  Would WordPress lose anything by removing the table prefixes  
from these two fields?


On Aug 25, 2007, at 11:20 AM, Stephen Rider wrote:

> The problem appears to be the "wp_capabilities" and "wp_user_level"  
> fields in the wp_usermeta table.  WordPress needs these field names  
> to match the active table prefix.
> So, when I use the define()s to point to the other blog's user and  
> usermeta tables, it sees the wrong prefix in this field and hits an  
> error.
> ALSO:  Should it be considered a bug that the field names have the  
> prefix hard-coded into them?  This seems like unnecessary  
> duplication of information to me, which is a database design no-no.

More information about the wp-hackers mailing list