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

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 31 08:54:01 UTC 2011


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

Comment (by mikeschinkel):

 My latest iteration of this, ignoring the required SQL details looks like
 this:

 {{{
 CREATE TABLE wp_relationships (
   object_id bigint(20),
   related_id bigint(20),
   term_taxonomy_id bigint(20)
  )
 }}}

 The idea is that it could be used to relate any other objects, i.e.
 post->post, post->user, user->post, etc.  I'm working with someone else to
 improve code that would offer this functionality and plan to release as a
 plugin but would be happy to contribute to WordPress is there is interest.

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


More information about the wp-trac mailing list