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
This commit is contained in:
Drew Jaynes 2016-02-28 18:16:26 +00:00
parent d276b540e4
commit 268d09070e
2 changed files with 6 additions and 4 deletions

View File

@ -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);

View File

@ -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.