[wp-trac] [WordPress Trac] #15963: Don't try to add orphaned pages' parents' slugs to the page URL

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 23 11:08:56 UTC 2010


#15963: Don't try to add orphaned pages' parents' slugs to the page URL
--------------------------+---------------------------------
 Reporter:  filosofo      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  General       |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch 3.2-early
--------------------------+---------------------------------
 If a page becomes orphaned---in other words, if a page points to a parent
 object that doesn't exist any more---`get_page_uri()` doesn't sanity check
 that the parent object actually exists.

 Patch does the check without any extra work, by moving stuff around.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15963>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list