[wp-trac] [WordPress Trac] #19637: Update hierarchy when deleting hierarchical CPT
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 21 15:16:40 UTC 2011
#19637: Update hierarchy when deleting hierarchical CPT
--------------------------+------------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: General | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by duck_):
Patch switches to clean_post_cache() from clean_page_cache() for
is_post_type_hierarchical() children. This is because the page clean
function does some page specific stuff that doesn't need to occur for each
child or for non-page content types, and clean_post_cache() does the
recursive cleaning normally anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19637#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list