[wp-trac] [WordPress Trac] #57341: `Error: Class "Requests" not found` in trunk

WordPress Trac noreply at wordpress.org
Sun Dec 18 22:33:09 UTC 2022


#57341: `Error: Class "Requests" not found` in trunk
-------------------------------------------------+-------------------------
 Reporter:  bjorsch                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.2
Component:  HTTP API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-patch has-      |     Focuses:
  unit-tests commit                              |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 I'm seeing quite a few plugins that do seem to
 [https://wpdirectory.net/search/01GMKN6TB0GRGSSASAHZAJNY2J reference the
 older file structure directly] in require statements, not just the
 autoloader file.

 However wise it was for these plugins to do this can be debated but
 WordPress should not throw a fatal error on sites including plugins that
 did so.

 There are some false positives in the link (security plugins containing
 the file hash been the most common) there are also a quite a number of
 installations that are true positives.

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


More information about the wp-trac mailing list