[wp-trac] [WordPress Trac] #26943: The comment_text() function retrieve the comment text 2 times

WordPress Trac noreply at wordpress.org
Sun Jan 26 15:05:20 UTC 2014


#26943: The comment_text() function retrieve the comment text 2 times
-------------------------+----------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:
-------------------------+----------------------
Changes (by helen):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Given that the whole $comment object is passed as context to the filters,
 I don't see that working out. It's cached anyway, doesn't hit the DB
 twice.

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


More information about the wp-trac mailing list