Changes from branches/3.5/wp-includes/class-http.php at r23250 to trunk/wp-includes/class-http.php at r22118
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r23250 r22118 142 142 if ( $r['stream'] ) { 143 143 $r['blocking'] = true; 144 if ( ! call_user_func( 'WIN' === strtoupper( substr( PHP_OS, 0, 3 ) ) ? 'win_is_writable' : 'is_writable',dirname( $r['filename'] ) ) )144 if ( ! is_writable( dirname( $r['filename'] ) ) ) 145 145 return new WP_Error( 'http_request_failed', __( 'Destination directory for file streaming does not exist or is not writable.' ) ); 146 146 }
Note: See TracChangeset
for help on using the changeset viewer.