[wp-trac] [WordPress Trac] #19637: Update hierarchy when deleting hierarchical CPT
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 21 15:14:20 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 | Keywords: has-patch
--------------------------+-----------------------
When deleting a CPT post which is hierarchical its children don't have
their post_parent properties updated. This updating code should be split
out of the page specific branches into an is_post_type_hierarchical()
check.
Noticed when patching #19636.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19637>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list