From 268d09070eb47441d8a10dfe73e52bda4d727e3c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 28 Feb 2016 18:16:26 +0000 Subject: [PATCH] Docs: Add missing documentation for the `$title` parameter in the DocBlock for the deprecated `parent_post_rel_link()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@36753 git-svn-id: http://core.svn.wordpress.org/trunk@36720 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 8 +++++--- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 4bcfa15287..af4861e993 100644 --- a/wp-includes/deprecated.php +++ b/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); diff --git a/wp-includes/version.php b/wp-includes/version.php index b892cabea8..a679fec137 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta1-36752'; +$wp_version = '4.5-beta1-36753'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.