提交的内容
This commit is contained in:
2
vendor/rmccue/requests/src/Autoload.php
vendored
Executable file → Normal file
2
vendor/rmccue/requests/src/Autoload.php
vendored
Executable file → Normal file
@ -166,7 +166,7 @@ if (class_exists('WpOrg\Requests\Autoload') === false) {
|
||||
if (!defined('REQUESTS_SILENCE_PSR0_DEPRECATIONS') || REQUESTS_SILENCE_PSR0_DEPRECATIONS !== true) {
|
||||
// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
|
||||
trigger_error(
|
||||
'The PSR-0 `Requests_...` class names in the Request library are deprecated.'
|
||||
'The PSR-0 `Requests_...` class names in the Requests library are deprecated.'
|
||||
. ' Switch to the PSR-4 `WpOrg\Requests\...` class names at your earliest convenience.',
|
||||
E_USER_DEPRECATED
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user