[wp-trac] [WordPress Trac] #11424: Loops can develop in the post_parent hierarchy

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 14 01:28:34 UTC 2009


#11424: Loops can develop in the post_parent hierarchy
--------------------------+-------------------------------------------------
 Reporter:  mdawaffe      |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  3.0                    
Component:  General       |     Version:  2.9                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by mdawaffe):

 This patch only catches loops that would be created by the call to
 wp_insert_post().  Loops that are already present are not caught (and
 could cause wp_insert_post() to enter an infinite loop of its own with
 this patch).

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


More information about the wp-trac mailing list