[wp-trac] [WordPress Trac] #58876: Calling get_class() without arguments is deprecated in class-wp-http.php
WordPress Trac
noreply at wordpress.org
Wed Aug 30 22:07:28 UTC 2023
#58876: Calling get_class() without arguments is deprecated in class-wp-http.php
------------------------------------+--------------------------------
Reporter: ipajen | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: HTTP API | Version:
Severity: normal | Resolution: fixed
Keywords: php83 has-patch commit | Focuses: php-compatibility
------------------------------------+--------------------------------
Changes (by audrasjb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"56495" 56495]:
{{{
#!CommitTicketReference repository="" revision="56495"
HTTP API: Update `WP_Http` class to avoid PHP deprecation warnings.
This changeset prevents a PHP 8.3 deprecation shown when enabling debug
and calling `get_class()` without arguments.
For more info about this deprecation, see
https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures#get_class_and_get_parent_class.
Props ipajen, rajinsharwar, SergeyBiryukov, jrf.
Fixes #58876.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58876#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list