From d568e9029d28da8e24b6cf824e5e687632fc428f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 7 Apr 2014 20:22:15 +0000 Subject: [PATCH] Improve PHPDoc formatting for `get_the_permalink()`. See #27700. Built from https://develop.svn.wordpress.org/trunk@28001 git-svn-id: http://core.svn.wordpress.org/trunk@27831 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. */