Make WordPress Core

Opened 2 years ago

#48457 new defect (bug)

Requests library depends on PHP zlib

Reported by: Clorith Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: External Libraries Keywords:
Focuses: Cc:


Currently the Requests library checks for zlib in some locations, but not others, before using it.

This means it's possible to get a fatal error because gzinflate() is undefined, for example when trying to fetch content from the WordPress.org API.

Specifically noticed in compatible_gzinflate(), at line 947.

Change History (0)

Note: See TracTickets for help on using tickets.