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

Follow-up to [48327].

See #50767.

git-svn-id: https://develop.svn.wordpress.org/trunk@49564 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-11-12 11:15:49 +00:00
parent 8b2aa594e3
commit ea136a3af6
4 changed files with 4 additions and 4 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.' );