[wp-trac] [WordPress Trac] #11243: Don't show deleted Pages in wp.getPages results

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 1 22:19:17 UTC 2009


#11243: Don't show deleted Pages in wp.getPages results
--------------------------+-------------------------------------------------
 Reporter:  josephscott   |        Owner:  josephscott
     Type:  defect (bug)  |       Status:  closed     
 Priority:  normal        |    Milestone:  2.9        
Component:  XML-RPC       |      Version:  2.9        
 Severity:  blocker       |   Resolution:  fixed      
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by westi):

 I'm not happy with this change.

 I think out XMLRPC/APP apis should expose things as well as our internal
 apis do.

 I think this is probably the best thing for 2.9 but for 3.0 we need to
 revisit this and make it clear that apis like this will expose everything.

 Maybe for example getPages should allow you to filter on status as an
 extra feature.

 Clients should be careful about what they do with api calls like these
 which are open ended they should be graceful in there consumption of
 things they don't expect so we don't have to limit the flexibility we
 provide.

 I'm going to open a new ticket for this for 3.0

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


More information about the wp-trac mailing list