Ticket #15963: 15963.2.diff
File 15963.2.diff, 429 bytes (added by , 12 years ago) |
---|
-
wp-includes/post.php
3442 3442 $uri = $page->post_name; 3443 3443 3444 3444 foreach ( $page->ancestors as $parent ) { 3445 /* check that the page is publish status*/ 3446 if("publish" == get_post_status( $parent )) 3445 3447 $uri = get_post( $parent )->post_name . "/" . $uri; 3446 3448 } 3447 3449