Ticket #24491: 24491.patch
| File 24491.patch, 663 bytes (added by , 13 years ago) |
|---|
-
wp-includes/post.php
3554 3554 * @since 1.5.0 3555 3555 * 3556 3556 * @param mixed $page Page object or page ID. 3557 * @return string Page URI.3557 * @return string|false Page URI, false on error. 3558 3558 */ 3559 3559 function get_page_uri($page) { 3560 3560 $page = get_post( $page ); 3561 3561 3562 if ( ! $page ) 3563 return false; 3564 3562 3565 $uri = $page->post_name; 3563 3566 3564 3567 foreach ( $page->ancestors as $parent ) { 3565 $uri = get_post( $parent )->post_name . "/". $uri;3568 $uri = get_post( $parent )->post_name . '/' . $uri; 3566 3569 } 3567 3570 3568 3571 return $uri;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)