[wp-trac] [WordPress Trac] #8663: Allow customizing capabilities prefix through wp-config.php

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 18 11:47:16 GMT 2008


#8663: Allow customizing capabilities prefix through wp-config.php
-------------------------+--------------------------------------------------
 Reporter:  hudatoriq    |       Owner:  hudatoriq                         
     Type:  enhancement  |      Status:  new                               
 Priority:  high         |   Milestone:  2.8                               
Component:  General      |     Version:                                    
 Severity:  normal       |    Keywords:  custom, user, capabilities, prefix
-------------------------+--------------------------------------------------
 It's better if we are able to customize the user capabilities prefix.
 There are some advantages:

 1. Security improvement.[[BR]]
 2. Allow users to customize their multiple WP installations and share
 single user table & capabilities information without hacking the core
 script.

 Right now the user capabilities prefix is always the same as the
 $table_prefix.

 For user table sharing, some people have been practicing it.
 [http://wordpress.org/support/topic/164758 See this forum thread]. We
 share a database, set different $table_prefix for each installation,
 define the CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE into the same
 value. The only problem is, we can't share the same user capabilities list
 since we can't set the prefix to other value than $wp_prefix. This could
 be improved if we add conditional statement to see whether the
 capabilities prefix is already defined in somewhere else (e.g. wp-
 config.php).

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


More information about the wp-trac mailing list