[wp-trac] [WordPress Trac] #5693: Changing a page's parent does not change the page's guid

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 20 04:39:54 GMT 2008


#5693: Changing a page's parent does not change the page's guid
----------------------------+-----------------------------------------------
 Reporter:  truthandcoffee  |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.6      
Component:  General         |     Version:  2.3.1    
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 When making a change to the parent/child relationship of two existing
 pages, the guid of the child page does not update to reflect the new
 association. For example, if I have:

 (www.somesite.com)
 - Existing Page 1 (slug: page1)
 - Existing Page 2 (slug: page2)

 guid of 'Existing Page 1' is 'http://www.somesite.com/page1'
 guid of 'Existing Page 2' is 'http://www.somesite.com/page2'

 If I create a brand new 'Page 3', and set it as a child of 'Existing Page
 1', the guid of 'Page 3' is 'http://www.somesite.com/page1/page3'. This is
 exactly how it should be.

 But, if I go back and assign 'Existing Page 2' to be a child of 'Existing
 Page 1', the guid of 'Existing Page 2' does not change to reflect the new
 relationship, but instead stays as 'http://www.somesite.com/page2',
 whereas it seems as it should become
 'http://www.somesite.com/page1/page2'.

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


More information about the wp-trac mailing list