[wp-trac] [WordPress Trac] #14513: Time for a wp_post_relationships table?

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 1 20:24:12 UTC 2010


#14513: Time for a wp_post_relationships table?
-----------------------------+----------------------------------------------
 Reporter:  mikeschinkel     |        Owner:         
     Type:  feature request  |       Status:  closed 
 Priority:  normal           |    Milestone:         
Component:  Post Types       |      Version:  3.0.1  
 Severity:  normal           |   Resolution:  wontfix
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by scribu):

 > However, why do you really need two new tables? Wouldn't one work? The
 one table could link two posts with a third ID that links to a
 taxonomy_term or another post for context.

 Main reason is that it's meant to allow arbitrary data, like creation
 date, etc. Also, it's a lot easier to CRUD, using the metadata_*()
 functions.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14513#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list