[wp-trac] [WordPress Trac] #37747: Call to undefined method Requests_Response::is_redirect()

WordPress Trac noreply at wordpress.org
Tue Sep 20 17:35:19 UTC 2016


#37747: Call to undefined method Requests_Response::is_redirect()
--------------------------+----------------------
 Reporter:  lordspace     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  HTTP API      |     Version:  4.6
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by noclique):

 Hey @Clorith

 I am using Requests in the plugin I'm developing. I like your idea of
 deferring to the version used within WordPress now that it's included
 within 4.6. However I'll need the plugin to work for versions before 4.6
 as-well. I suppose I could place a conditional somewhere in the code and
 only load the version of Requests that comes with my plugin if it's not
 found within WordPress.

 I guess the main question is whether the error is resolved if using the
 version of Requests included with WordPress, and also if the error
 persists if the WordPress version is < 4.6 while using the external
 version of Requests.

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


More information about the wp-trac mailing list