[wp-trac] [WordPress Trac] #11235: Pages whose ancestors are not all "published" cannot be used as parents for other pages.

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 15:13:30 UTC 2009


#11235: Pages whose ancestors are not all "published" cannot be used as parents for
other pages.
--------------------------+-------------------------------------------------
 Reporter:  caesarsgrunt  |       Owner:  filosofo      
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Taxonomy      |     Version:  2.9           
 Severity:  normal        |    Keywords:                
--------------------------+-------------------------------------------------
Changes (by caesarsgrunt):

  * keywords:  reporter-feedback =>


Comment:

 Create and publish two pages; Parent and Child. Set the parent of the
 latter to be the former. Now delete/un-publish Parent.

 In the database, Child is still a child of Parent.[[BR]]
 In the front end, on the live site, Child will now appear as a top-level
 page.

 If you were to re-publish Parent, the taxonomy would be the same as before
 you un-published it.

 Now there are two problems.

 1. Create a new page. Call it Grandchild. Now, although Child is still
 visible in the front-end and back-end, ''you cannot set it to be the
 parent of Grandchild''.

 2. Edit Child. Save it. Now, the database will be changed so that Child is
 a root page. If you were now to re-publish Parent, Child would no longer
 be a child of it.

 Let me know if you want any more details.

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


More information about the wp-trac mailing list