[wp-trac] [WordPress Trac] #58876: Calling get_class() without arguments is deprecated in class-wp-http.php

WordPress Trac noreply at wordpress.org
Sat Jul 22 08:46:37 UTC 2023


#58876: Calling get_class() without arguments is deprecated in class-wp-http.php
--------------------------+-----------------------------
 Reporter:  ipajen        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  PHP
  Focuses:                |
--------------------------+-----------------------------
 == Bug Report
 === Description
 When enabling debug the Calling get_class() without arguments is
 deprecated in class-wp-http.php is shown.

 {{{
 define( 'WP_DEBUG', true );
 define( 'WP_DEBUG_LOG', true );
 define( 'WP_DEBUG_DISPLAY', true );
 @ini_set( 'display_errors', 1 );
 }}}


 {{{
 PHP Deprecated:  Calling get_class() without arguments is deprecated in
 C:\wamp64\www\wordpress\wp-includes\class-wp-http.php on line 329
 }}}




 === Environment
 - WordPress: 6.3-RC1
 - PHP: 8.3.0beta1
 - Server: Apache/2.4.54 (Win64) PHP/8.3.0beta1 mod_fcgid/2.3.10-dev
 - Database: mysqli (Server: 8.0.31 / Client: mysqlnd 8.3.0beta1)
 - Browser: Edge 114.0.1823.82 (Windows 10/11)
 - Theme: Twenty Twenty-Three 1.1
 - MU-Plugins: None activated
 - Plugins:
   * Query Monitor 3.13.1
   * WordPress Beta Tester 3.5.2

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58876>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list