Link Manager: Correct version number for `_deprecated_argument()` in `xfn_check()`.

Props grapplerulrich.
Fixes #39737.
Built from https://develop.svn.wordpress.org/trunk@40029


git-svn-id: http://core.svn.wordpress.org/trunk@39966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-29 22:14:40 +00:00
parent 9d7ea04936
commit 8e84504401
2 changed files with 4 additions and 3 deletions

View File

@ -1022,8 +1022,9 @@ function link_target_meta_box($link) { ?>
function xfn_check( $class, $value = '', $deprecated = '' ) {
global $link;
if ( !empty( $deprecated ) )
_deprecated_argument( __FUNCTION__, '0.0.0' ); // Never implemented
if ( ! empty( $deprecated ) ) {
_deprecated_argument( __FUNCTION__, '2.5.0' ); // Never implemented
}
$link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; // In PHP 5.3: $link_rel = $link->link_rel ?: '';
$rels = preg_split('/\s+/', $link_rel);

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40028';
$wp_version = '4.8-alpha-40029';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.