[wp-trac] [WordPress Trac] #33871: comment_exists() results in a bad query

WordPress Trac noreply at wordpress.org
Thu Sep 17 18:12:36 UTC 2015


#33871: comment_exists() results in a bad query
-------------------------+------------------------------
 Reporter:  apokalyptik  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+------------------------------
Changes (by Viper007Bond):

 * keywords:   => has-patch
 * focuses:   => performance
 * component:  Import => Comments


Comment:

 I think the PHPDoc should be updated to mention that
 `comment_exists_gmt()` should be used where possible due to it's
 considerable speed improvements.

 Nice work. :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33871#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list