mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
388d20fa50
commit
f1e7a42756
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user