[wp-trac] [WordPress Trac] #14558: Separate Database Table Support for Custom Post Types

WordPress Trac noreply at wordpress.org
Wed Aug 28 20:29:16 UTC 2019


#14558: Separate Database Table Support for Custom Post Types
-------------------------------+-----------------------
 Reporter:  rahul286           |       Owner:  (none)
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+-----------------------
Changes (by samjco):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 I am 1+ for this to be done.

 Especially when you have CPT, WC Orders, WC Products, Posts, Pages, etc,
 etc, etc all sharing the same table!!!
 The flatten the table is, the better the querying speed Is.

 ex:

 {{{
 wp_posts_cptname
 wp_posts_orders
 }}}


 Please. Registered CPTS should create tables. OR atleast have an OPTION to
 create new or store in default
 {{{#!php
 'public' => true,
 'separate_table' => true, //false to use wp_posts
 }}}

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


More information about the wp-trac mailing list