Ticket #26284: getpageuri.diff
File getpageuri.diff, 558 bytes (added by , 10 years ago) |
---|
-
wp-includes/post.php
3626 3626 * 3627 3627 * @since 1.5.0 3628 3628 * 3629 * @param mixed $page Page object or page ID.3629 * @param int|object $page Page ID or page object. Optional, default is the current page from the loop. 3630 3630 * @return string|false Page URI, false on error. 3631 3631 */ 3632 function get_page_uri( $page ) {3632 function get_page_uri( $page = null ) { 3633 3633 $page = get_post( $page ); 3634 3634 3635 3635 if ( ! $page )