[wp-trac] Re: [WordPress Trac] #5183: General Meta-Data Table

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 23 17:08:54 GMT 2009


#5183: General Meta-Data Table
-----------------------------------------+----------------------------------
 Reporter:  filosofo                     |        Owner:  anonymous
     Type:  enhancement                  |       Status:  reopened 
 Priority:  normal                       |    Milestone:  2.9      
Component:  General                      |      Version:  2.9      
 Severity:  normal                       |   Resolution:           
 Keywords:  needs-patch meta-table meta  |  
-----------------------------------------+----------------------------------
Changes (by mikeschinkel):

  * version:  2.3 => 2.9
  * milestone:  Future Release => 2.9


Comment:

 This came up as a discussion on the hackers list because of my need for
 link metadata as I wanted to do it how it might evolve to be done in
 future versions of WordPress.

 The consensus on the list was to move everything to a wp_meta table and
 scribu nicely submitted ticket #10223 although he was pointed back to this
 one. Here it seems the consensus is that a single meta table is too
 abstract and will add too much overhead for most people's liking. Further
 this ticket has stalled without addressing the problem.

 So let me take a stab at a strawman.  Let's keep wp_postmeta and
 wp_usermeta but lets add a more generic table called wp_othermeta and
 let's use it for comments, links, or whatever. It would need an
 object_type field, of course but this would give anyone the ability to add
 meta to anything they need and should be a good balance of the concerns
 expressed thus far.

 BTW, I selected "General" as a "Component" because there was no "Meta" to
 select.

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


More information about the wp-trac mailing list