Changeset 27409
- Timestamp:
- 03/05/2014 07:23:22 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r27296 r27409 70 70 71 71 /** 72 * Retrieve full permalink for current post or post ID. Alias for get_permalink(). 73 * 74 * @since 3.9.0 75 * @see get_permalink() 76 * 77 * @param int|WP_Post $id Optional. Post ID or post object. Defaults current post. 78 * @param bool $leavename Optional. Whether to keep post name or page name. Default false. 79 * @return string|bool The permalink URL or false if post does not exist. 80 */ 81 function get_the_permalink( $id = 0, $leavename = false ) { 82 return get_permalink( $id, $leavename ); 83 } 84 85 /** 72 86 * Retrieve full permalink for current post or post ID. 73 87 * 74 88 * @since 1.0.0 75 89 * 76 * @param int|WP_Post $id Optional. Post ID or post object, defaults to thecurrent post.77 * @param bool $leavename Optional. Whether to keep post name or page name, defaults tofalse.90 * @param int|WP_Post $id Optional. Post ID or post object. Default current post. 91 * @param bool $leavename Optional. Whether to keep post name or page name. Default false. 78 92 * @return string|bool The permalink URL or false if post does not exist. 79 93 */
Note: See TracChangeset
for help on using the changeset viewer.