mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Add a missing summary, parameter, and return descriptiosn to the DocBlock for the deprecated function, get_linkrating()
.
See #32246. Built from https://develop.svn.wordpress.org/trunk@36023 git-svn-id: http://core.svn.wordpress.org/trunk@35988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df0c1aa0ed
commit
7b1ac33dee
@ -1064,12 +1064,14 @@ function links_popup_script($text = 'Links', $width=400, $height=400, $file='lin
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Legacy function that retrieved the value of a link's link_rating field.
|
||||||
|
*
|
||||||
* @since 1.0.1
|
* @since 1.0.1
|
||||||
* @deprecated 2.1.0 Use sanitize_bookmark_field()
|
* @deprecated 2.1.0 Use sanitize_bookmark_field()
|
||||||
* @see sanitize_bookmark_field()
|
* @see sanitize_bookmark_field()
|
||||||
*
|
*
|
||||||
* @param object $link
|
* @param object $link Link object.
|
||||||
* @return mixed
|
* @return mixed Value of the 'link_rating' field, false otherwise.
|
||||||
*/
|
*/
|
||||||
function get_linkrating( $link ) {
|
function get_linkrating( $link ) {
|
||||||
_deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' );
|
_deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36022';
|
$wp_version = '4.5-alpha-36023';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user