diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 4013825574..2b8e98fb9c 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -1064,14 +1064,16 @@ 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 * @deprecated 2.1.0 Use sanitize_bookmark_field() * @see sanitize_bookmark_field() * - * @param object $link - * @return mixed + * @param object $link Link object. + * @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()' ); return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display'); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8bdef89de2..8eecee6172 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.