[wp-trac] [WordPress Trac] #22900: is_writable function fails on Windows systems causing spurious http_request_failed error

WordPress Trac noreply at wordpress.org
Wed Dec 19 23:21:39 UTC 2012


#22900: is_writable function fails on Windows systems causing spurious
http_request_failed error
--------------------------+--------------------
 Reporter:  Otto42        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  HTTP          |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by dd32):

 Okay, Tested on a IIS7 server that experiences the problem - Now I
 remember why my permission set is so lax.. file permissions are a PITA!

 attachment:22900.diff​ confirmed working.

 attachment:hotfix.22900.diff​ fails - not sure why it worked in my
 testing, download_url() ignores the filename returned from wp_remote_get()
 and thus can't be changed on the filter ''naughty.. naughty..''

 attachment:22900.hotfix.diff​ takes a different approach (just defining
 WP_TEMP_DIR on upgrade requests), and confirmed working.

 > pre_http_request is called as an action, but should be called as a
 filter.
 They're just aliases of each other, but fixed up in the new patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22900#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list