[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:22:35 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 maxcutler):

 Added unit test in [UT715]. The attached patch is broken because `$page`
 is an array and `get_class` will fail on arrays. I'll work on a new patch.

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


More information about the wp-trac mailing list