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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 5 10:11:41 UTC 2010


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

Comment(by scribu):

 @Mike and @Denis:

 You mention that using a taxonomy would be hard because you have to keep
 post slugs syncronized. I have tried that approach in the past and,
 indeed, data got corrupted pretty fast.

 That's why I use the post ID instead. Since the ID never changes, keeping
 things consistent is a lot easier. You just have to delete the term when
 the post is deleted.

 Take a look at the most recent version of my plugin to see what I mean:

 http://plugins.trac.wordpress.org/browser/posts-to-
 posts/trunk/core.php?rev=271772

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


More information about the wp-trac mailing list