From f1e7a427566a4e96b8fb8a15a24c5dc2d85ef89a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 28 Feb 2016 18:15:42 +0000 Subject: [PATCH] Docs: Add missing documentation for the `$title` parameter in the DocBlock for the deprecated `parent_post_rel_link()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36753 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/deprecated.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 4bcfa15287..af4861e993 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -2733,10 +2733,10 @@ function index_rel_link() { * @since 2.8.0 * @deprecated 3.3.0 * - * @param string $title Optional. Link title format. + * @param string $title Optional. Link title format. Default '%title'. * @return string */ -function get_parent_post_rel_link($title = '%title') { +function get_parent_post_rel_link( $title = '%title' ) { _deprecated_function( __FUNCTION__, '3.3' ); if ( ! empty( $GLOBALS['post'] ) && ! empty( $GLOBALS['post']->post_parent ) ) @@ -2763,8 +2763,10 @@ function get_parent_post_rel_link($title = '%title') { * * @since 2.8.0 * @deprecated 3.3.0 + * + * @param string $title Optional. Link title format. Default '%title'. */ -function parent_post_rel_link($title = '%title') { +function parent_post_rel_link( $title = '%title' ) { _deprecated_function( __FUNCTION__, '3.3' ); echo get_parent_post_rel_link($title);