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

WordPress Trac noreply at wordpress.org
Fri Dec 16 17:36:32 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                                     |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  needs-testing-info has-patch has-unit-tests => has-testing-
     info has-patch has-unit-tests
 * milestone:  Awaiting Review => 6.2


Comment:

 > Add a wp-includes/Requests/library/Requests.php file with the only
 content in that file being include_once ABSPATH . WPINC . '/class-
 requests.php';

 [https://github.com/WordPress/wordpress-develop/pull/3776 PR 3776]
 implements this suggestion and includes a PHPUnit test. The PR has two
 commits: One to show the issue, and one to show the change resolving it.

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


More information about the wp-trac mailing list