-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugExisting functionality isn't behaving as expectedExisting functionality isn't behaving as expected
Description
I've been working through various PHP 8.1 related issues, and one thing I noticed is that due to a dependency is this module, WordPress core loads an incorrect version of the Requests library:
[327] => /usr/src/app/wordpress/wp-includes/class-wp-http.php
[328] => /usr/src/app/vendor/rmccue/requests/library/Requests.php
This is because class-wp-http.php calls class_exists on Requests, causing the autoloader to kick in and load the one from vendor, instead of the version shipped with WordPress core. The dependency comes from:
- altis/dev-tools -> lucatume/wp-browser
- lucatume/wp-browser -> wp-cli/wp-cli
- wp-cli/wp-cli -> rmccue/requests
Acceptance criteria:
- WordPress should load the Requests library bundled with Core
Metadata
Metadata
Assignees
Labels
bugExisting functionality isn't behaving as expectedExisting functionality isn't behaving as expected