[wp-trac] [WordPress Trac] #20629: wp.getPages response includes bogus content for pages lacking edit permission

WordPress Trac wp-trac at lists.automattic.com
Fri May 11 20:34:31 UTC 2012


#20629: wp.getPages response includes bogus content for pages lacking edit
permission
--------------------------+------------------
 Reporter:  redsweater    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  XML-RPC       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by redsweater):

 Aha! Great catch. I only tested the behavior from the other side of the
 API, where it did work, presumably because whatever value is returned by
 get_class(array()) is still not equal to IXR_Error.

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


More information about the wp-trac mailing list