Ticket #36174: patch_draft_child_post_link.diff
| File patch_draft_child_post_link.diff, 406 bytes (added by , 10 years ago) |
|---|
-
wp-includes/post.php
4441 4441 4442 4442 foreach ( $page->ancestors as $parent ) { 4443 4443 $parent = get_post( $parent ); 4444 if ( $parent ) {4444 if ( $parent && ! empty( $parent->post_name ) ) { 4445 4445 $uri = $parent->post_name . '/' . $uri; 4446 4446 } 4447 4447 }