Make WordPress Core


Ignore:
Timestamp:
11/12/2020 11:15:49 AM (5 years 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.

File:
1 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' ) ) :
Note: See TracChangeset for help on using the changeset viewer.