Changeset 51872 for trunk/tests/phpunit/tests/compat/jsonEncodeDecode.php
- Timestamp:
- 09/26/2021 03:27:10 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/compat/jsonEncodeDecode.php
r51852 r51872 9 9 10 10 public function test_json_encode_decode() { 11 $this->expectDeprecation(); 11 $this->setExpectedDeprecated( 'class-json.php' ); 12 $this->setExpectedDeprecated( 'Services_JSON::__construct' ); 13 $this->setExpectedDeprecated( 'Services_JSON::encodeUnsafe' ); 14 $this->setExpectedDeprecated( 'Services_JSON::_encode' ); 15 $this->setExpectedDeprecated( 'Services_JSON::reduce_string' ); 16 $this->setExpectedDeprecated( 'Services_JSON::decode' ); 17 $this->setExpectedDeprecated( 'Services_JSON::isError' ); 18 $this->setExpectedDeprecated( 'Services_JSON::strlen8' ); 19 $this->setExpectedDeprecated( 'Services_JSON::substr8' ); 12 20 13 21 require_once ABSPATH . WPINC . '/class-json.php';
Note: See TracChangeset
for help on using the changeset viewer.