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

WordPress Trac noreply at wordpress.org
Wed Sep 4 00:16:04 UTC 2019


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

Comment (by samjco):

 @pento What about db Views? That is only created during the CPT
 registering. This will allow users to optionally pull there rendered data
 from the view itself that is made from the Post table. However, when a CPT
 post is updated, it is updated within the post table and the process is
 repeated.

 OR

 Dynamically creating CPT JSON files off of the post table. And when a post
 is updated the JSON file is updated. But within the CPT registration
 process, we can define if we want to use the JSON or MySQL as data source.

 What do you think of these options?
 This way no change has to be made to the post table.

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


More information about the wp-trac mailing list