[wp-trac] [WordPress Trac] #20703: wp.getComments logs in the user (1 + #comments) times

WordPress Trac wp-trac at lists.automattic.com
Wed May 23 18:21:21 UTC 2012


#20703: wp.getComments logs in the user (1 + #comments) times
--------------------------+--------------------
 Reporter:  aercolino     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  XML-RPC       |     Version:  3.3.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by maxcutler):

 * cc: max@… (added)
 * keywords:   => has-patch
 * milestone:  Awaiting Review => 3.4


Comment:

 Added a patch that moves the formatting logic out into a
 `_prepare_comment` method like we've done for all other content types in
 the 3.4 release. Also fixes a potential source of notices if the caller
 omits the optional fourth argument.

 Added some unit tests for these two methods in [UT720].

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


More information about the wp-trac mailing list