WP_Http_Streams::test doesn't check enough to confirm if it can do HTTPS
|Reported by:||westi||Owned by:||dd32|
The WP_Http_Streams doesn't check for all it's prerequisites before saying it can process HTTPS request.
It seems to be common for the openssl extension to no be loaded.
[21-Feb-2011 08:06:48] PHP Warning: fopen() [<a href='function.fopen'>function.fopen</a>]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in .../wp-includes/class-http.php on line 1063 [21-Feb-2011 08:06:48] PHP Warning: fopen(https://example.com/feed/) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in .../wp-includes/class-http.php on line 1063
We need to at least check: extension_loaded( 'openssl' )
Change History (32)
- Keywords has-patch added; needs-patch removed
- Keywords 3.3-early added; 3.2-early removed
- Milestone changed from 3.2 to Future Release
- Keywords 3.3-early has-patch removed
- Milestone changed from Future Release to 3.7
Note: See TracTickets for help on using tickets.