[wp-trac] Re: [WordPress Trac] #8622: HTTP API Fallover &
non-blocking order doesnt appear to be working
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 29 14:06:25 GMT 2009
#8622: HTTP API Fallover & non-blocking order doesnt appear to be working
-------------------------------------+--------------------------------------
Reporter: DD32 | Type: defect (bug)
Status: new | Priority: normal
Milestone: 2.8 | Component: HTTP
Version: 2.7 | Severity: normal
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment(by Denis-de-Bernardy):
So, something like:
on curl fail, set_transient(blacklist_curl_transport, true, 1 day);
and then in the test() function:
if ( get_transient(blacklist_curl_transport) ) return false;
makes sense.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8622#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list