Ticket #35084: 35084.diff
File 35084.diff, 425 bytes (added by , 8 years ago) |
---|
-
wp-includes/post.php
4300 4300 4301 4301 foreach ( $page->ancestors as $parent ) { 4302 4302 $parent = get_post( $parent ); 4303 if ( ' publish' === $parent->post_status ) {4303 if ( 'trash' !== $parent->post_status ) { 4304 4304 $uri = $parent->post_name . '/' . $uri; 4305 4305 } 4306 4306 }