[wp-trac] Re: [WordPress Trac] #5457: deleting a nested page from Manage => Pages causes query inconsistency

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 11 17:39:26 GMT 2007


#5457: deleting a nested page from Manage => Pages causes query inconsistency
---------------------+------------------------------------------------------
 Reporter:  hailin   |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  high     |    Milestone:  2.4      
Component:  General  |      Version:  2.4      
 Severity:  major    |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by ryan):

 In wp_delete_post() where we update children of the deleted page to point
 to the parent, we need to get the IDs of all affected pages and do a
 clean_page_cache() for each.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5457#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list