Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`.

Follow-up to [48327].

See #50767.
Built from https://develop.svn.wordpress.org/trunk@49564


git-svn-id: http://core.svn.wordpress.org/trunk@49302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-11-12 11:17:07 +00:00
parent 5da8c0fceb
commit 9c6f41419c
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<?php
_deprecated_file( basename( __FILE__ ), '5.3.0', null, 'The PHP native JSON extension is now a requirement.' );
_deprecated_file( basename( __FILE__ ), '5.3.0', '', 'The PHP native JSON extension is now a requirement.' );
if ( ! class_exists( 'Services_JSON' ) ) :
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

View File

@ -6,4 +6,4 @@
* @deprecated 2.1.0
*/
_deprecated_file( basename( __FILE__ ), '2.1.0', null, __( 'This file no longer needs to be included.' ) );
_deprecated_file( basename( __FILE__ ), '2.1.0', '', __( 'This file no longer needs to be included.' ) );

View File

@ -6,4 +6,4 @@
* @deprecated 3.1.0
*/
_deprecated_file( basename( __FILE__ ), '3.1.0', null, __( 'This file no longer needs to be included.' ) );
_deprecated_file( basename( __FILE__ ), '3.1.0', '', __( 'This file no longer needs to be included.' ) );

View File

@ -11,4 +11,4 @@
* @access private
*/
_deprecated_file( basename( __FILE__ ), '5.3.0', null, 'SPL can no longer be disabled as of PHP 5.3.' );
_deprecated_file( basename( __FILE__ ), '5.3.0', '', 'SPL can no longer be disabled as of PHP 5.3.' );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-beta3-49563';
$wp_version = '5.6-beta3-49564';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.