Changeset 8096 for trunk/wp-includes/post.php
- Timestamp:
- 06/16/2008 06:40:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r8081 r8096 1828 1828 function get_page_uri($page_id) { 1829 1829 $page = get_page($page_id); 1830 $uri = urldecode($page->post_name);1830 $uri = $page->post_name; 1831 1831 1832 1832 // A page cannot be it's own parent. … … 1836 1836 while ($page->post_parent != 0) { 1837 1837 $page = get_page($page->post_parent); 1838 $uri = urldecode($page->post_name). "/" . $uri;1838 $uri = $page->post_name . "/" . $uri; 1839 1839 } 1840 1840
Note: See TracChangeset
for help on using the changeset viewer.