[wp-trac] [WordPress Trac] #7915: Links to pages that are children of drafts are broken

WordPress Trac wp-trac at lists.automattic.com
Sun May 9 01:00:17 UTC 2010


#7915: Links to pages that are children of drafts are broken
-------------------------+--------------------------------------------------
 Reporter:  stevish      |        Owner:  ryan      
     Type:  enhancement  |       Status:  closed    
 Priority:  low          |    Milestone:            
Component:  Permalinks   |      Version:  2.7       
 Severity:  minor        |   Resolution:  worksforme
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by johnbillion):

  * keywords:  needs-patch =>
  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  Future Release =>


Comment:

 worksforme as we've had a change in behaviour somewhere along the line.
 Published pages are always published and viewable irrespective of their
 descendants' status, and permalinks work as expected and are no longer
 broken.

 A published page called 'child' with a draft parent page called 'parent'
 will generate a permalink of example.com/parent/child and it's accessible
 as expected. The parent page at example.com/parent will generate a 404 for
 visitors. I think this is expected behaviour.

 (Note: Mark's comments about workflow are valid but I'm not sure this
 workflow is common enough to warrant a change IMO. Probably plugin
 territory if people want that sort of behaviour.)

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


More information about the wp-trac mailing list