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

WordPress Trac wp-trac at lists.automattic.com
Fri May 18 19:49:29 UTC 2012


#20703: wp.getComments logs in the user (1 + #comments) times
--------------------------+-----------------------------
 Reporter:  aercolino     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  3.3.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Also wp.getPages had a similar bug, before [20807].

 I've been writing an enhancement for my LoginDongle plugin, where I will
 use a query string param to allow an XML-RPC user to log in. All calls
 work fine except getComments and it's because it reuses the getComment()
 method, which causes the unneeded logins.

 [http://core.trac.wordpress.org/browser/tags/3.3.2/wp-includes/class-wp-
 xmlrpc-server.php#L1098 getComments issue]
 |
 [http://core.trac.wordpress.org/browser/tags/3.3.2/wp-includes/class-wp-
 xmlrpc-server.php#L581 getPages issue]

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


More information about the wp-trac mailing list