Ticket #15963: 15963.3.diff
File 15963.3.diff, 438 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 $uri = get_post( $parent )->post_name . "/" . $uri; 3445 if ( $parent = get_post( $parent ) ) 3446 $uri = $parent->post_name . '/' . $uri; 3446 3447 } 3447 3448 3448 3449 return $uri;