[wp-trac] Re: [WordPress Trac] #2659: Comment meta

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 1 20:13:51 GMT 2007


#2659: Comment meta
--------------------------------------+-------------------------------------
 Reporter:  markjaquith               |        Owner:  markjaquith
     Type:  defect                    |       Status:  assigned   
 Priority:  normal                    |    Milestone:  2.4 (next) 
Component:  General                   |      Version:  2.1        
 Severity:  normal                    |   Resolution:             
 Keywords:  comment meta needs-patch  |  
--------------------------------------+-------------------------------------
Changes (by markjaquith):

  * keywords:  comment meta has-patch needs-testing => comment meta needs-
               patch

Comment:

 We don't have to load it unless we're going to use it.  But if we do load-
 on-demand, it would make sense to query commentdata for the entire
 $post->ID when the first request comes in.  If we store a secondary id
 (the post ID), we could query them without any joins.

 And yeah, it might be worth moving to a generic metadata table.

  1. No new tables
  1. Term meta
  1. Plugin meta

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2659#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list