Make WordPress Core


Ignore:
Timestamp:
12/18/2007 07:38:17 PM (18 years ago)
Author:
ryan
Message:

Clean cache for orphaned pages. Props hailin. fixes #5457

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r6392 r6403  
    304304     if ( count($children_pages) > 0 ) {
    305305        $empty_array = array();
    306         foreach ($children_pages as $orphan_page)
    307             display_page_row($orphan_page, $empty_array, 0);
     306        foreach ( $children_pages as $orphan_page ) {
     307            clean_page_cache( $orphan_page->ID);
     308            display_page_row( $orphan_page, $empty_array, 0 );
     309        }
    308310     }
    309311}
Note: See TracChangeset for help on using the changeset viewer.