[wp-trac] [WordPress Trac] #33320: Custom table names for all wordpress tables for wpdb

WordPress Trac noreply at wordpress.org
Mon Aug 10 13:45:45 UTC 2015


#33320: Custom table names for all wordpress tables for wpdb
-----------------------------+------------------------------
 Reporter:  soodl            |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:
 Severity:  normal           |  Resolution:  worksforme
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by soodl):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Thank you very much for this elegant solution, @pento.

 I didn't know this is possible. I already used drop-ins like advanced-
 cache.php but never looked up their behavior in general.  This is by far
 the best solution in terms of simplicity and updates.

 It would be good to let people know about this solution, who might want to
 use custom table names after reading this codex article
 ([https://codex.wordpress.org/Editing_wp-
 config.php#Custom_User_and_Usermeta_Tables]) and start to wonder why you
 can only set custom names on those tables.

 Really learned something today, thank you.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33320#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list