diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 3f17612a54..459f635c0e 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -69,12 +69,15 @@ function permalink_anchor( $mode = 'id' ) { } /** - * Retrieve full permalink for current post or post ID. Alias for get_permalink(). + * Retrieve full permalink for current post or post ID. + * + * This function is an alias for get_permalink(). * * @since 3.9.0 + * * @see get_permalink() * - * @param int|WP_Post $id Optional. Post ID or post object. Defaults current post. + * @param int|WP_Post $id Optional. Post ID or post object. Default is the current post. * @param bool $leavename Optional. Whether to keep post name or page name. Default false. * @return string|bool The permalink URL or false if post does not exist. */