Changeset 27188 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 02/17/2014 10:26:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r27026 r27188 67 67 break; 68 68 } 69 } 70 71 /** 72 * Alias for get_permalink() 73 * 74 * @since 3.9.0 75 * 76 * @param int|WP_Post $id Optional. Post ID or post object, defaults to the current post. 77 * @param bool $leavename Optional. Whether to keep post name or page name, defaults to false. 78 * @return string|bool The permalink URL or false if post does not exist. 79 */ 80 function get_the_permalink( $id = 0, $leavename = false ) { 81 return get_permalink( $id, $leavename ); 69 82 } 70 83
Note: See TracChangeset
for help on using the changeset viewer.