Changeset 37345
- Timestamp:
- 05/02/2016 06:28:04 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r37342 r37345 4429 4429 * 4430 4430 * @since 1.5.0 4431 * 4432 * @param WP_Post|object|int $page Page object or page ID. 4431 * @since 4.6.0 The $page parameter is optional. 4432 * 4433 * @param WP_Post|object|int $page Optional. Page ID or WP_Post object. Default is global $post. 4433 4434 * @return string|false Page URI, false on error. 4434 4435 */ 4435 function get_page_uri( $page ) {4436 function get_page_uri( $page = 0 ) { 4436 4437 if ( ! $page instanceof WP_Post ) { 4437 4438 $page = get_post( $page );
Note: See TracChangeset
for help on using the changeset viewer.