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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 30 18:43:16 UTC 2009


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

Comment(by josephscott):

 I had considered pushing this down to a lower layer (like Denis
 suggested), but was concerned that other parts of WP had become dependent
 on 'all' returning all posts/pages, including those in the trash.

 I suspect the trash status of posts and pages is going to cause some
 confusion because these functions now do different things.  It's probably
 worth a detailed write up in the Codex on what things trash has changed.

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


More information about the wp-trac mailing list