You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered:
The team presented on the refinement today 17 Aug 22 roughly estimated the work need for this bug should be 5 SP. @jerico@wisyhambolu we moved this one to the Backlog.
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:
This is because
class-wp-http.php
callsclass_exists
onRequests
, causing the autoloader to kick in and load the one from vendor, instead of the version shipped with WordPress core. The dependency comes from:Acceptance criteria:
The text was updated successfully, but these errors were encountered: