[wp-trac] [WordPress Trac] #57350: The trunk of WordPress Core may stops CI of plugin developer by trigger_error: E_USER_DEPRECATED "The PSR-0 `Requests_...` class names in the Request library are deprecated."

WordPress Trac noreply at wordpress.org
Thu Dec 22 10:37:33 UTC 2022


#57350: The trunk of WordPress Core may stops CI of plugin developer by
trigger_error: E_USER_DEPRECATED "The PSR-0 `Requests_...` class names in
the Request library are deprecated."
--------------------------+------------------------------
 Reporter:  yshinoda      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by BackuPs):

 The function as written now in autoload.php triggers error_get_last
 causing wp-header to add the php-error class even if there is no error
 anymore.

 This is a bug as the php-error class should only be added when there is a
 error.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57350#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list