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:
parent
9d7ea04936
commit
8e84504401
|
@ -1022,8 +1022,9 @@ function link_target_meta_box($link) { ?>
|
||||||
function xfn_check( $class, $value = '', $deprecated = '' ) {
|
function xfn_check( $class, $value = '', $deprecated = '' ) {
|
||||||
global $link;
|
global $link;
|
||||||
|
|
||||||
if ( !empty( $deprecated ) )
|
if ( ! empty( $deprecated ) ) {
|
||||||
_deprecated_argument( __FUNCTION__, '0.0.0' ); // Never implemented
|
_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 ?: '';
|
$link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; // In PHP 5.3: $link_rel = $link->link_rel ?: '';
|
||||||
$rels = preg_split('/\s+/', $link_rel);
|
$rels = preg_split('/\s+/', $link_rel);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue