WordPress.org

Make WordPress Core

Changeset 49564


Ignore:
Timestamp:
11/12/2020 11:15:49 AM (10 months ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [48327].

See #50767.

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-json.php

    r49194 r49564  
    11<?php
    2 _deprecated_file( basename( __FILE__ ), '5.3.0', null, 'The PHP native JSON extension is now a requirement.' );
     2_deprecated_file( basename( __FILE__ ), '5.3.0', '', 'The PHP native JSON extension is now a requirement.' );
    33
    44if ( ! class_exists( 'Services_JSON' ) ) :
  • trunk/src/wp-includes/registration-functions.php

    r46439 r49564  
    77 */
    88
    9 _deprecated_file( basename( __FILE__ ), '2.1.0', null, __( 'This file no longer needs to be included.' ) );
     9_deprecated_file( basename( __FILE__ ), '2.1.0', '', __( 'This file no longer needs to be included.' ) );
  • trunk/src/wp-includes/registration.php

    r46439 r49564  
    77 */
    88
    9 _deprecated_file( basename( __FILE__ ), '3.1.0', null, __( 'This file no longer needs to be included.' ) );
     9_deprecated_file( basename( __FILE__ ), '3.1.0', '', __( 'This file no longer needs to be included.' ) );
  • trunk/src/wp-includes/spl-autoload-compat.php

    r46586 r49564  
    1212 */
    1313
    14 _deprecated_file( basename( __FILE__ ), '5.3.0', null, 'SPL can no longer be disabled as of PHP 5.3.' );
     14_deprecated_file( basename( __FILE__ ), '5.3.0', '', 'SPL can no longer be disabled as of PHP 5.3.' );
Note: See TracChangeset for help on using the changeset viewer.