Changeset 41901 for trunk/src/wp-includes/class-wp-http-streams.php
- Timestamp:
- 10/18/2017 03:03:07 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-http-streams.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-streams.php
r41162 r41901 224 224 else 225 225 $stream_handle = fopen( $r['filename'], 'w+' ); 226 if ( ! $stream_handle ) 227 return new WP_Error( 'http_request_failed', sprintf( __( 'Could not open handle for fopen() to %s' ), $r['filename'] ) ); 226 if ( ! $stream_handle ) { 227 return new WP_Error( 'http_request_failed', sprintf( 228 /* translators: 1: fopen() 2: file name */ 229 __( 'Could not open handle for %1$s to %2$s.' ), 230 'fopen()', 231 $r['filename'] 232 ) ); 233 } 228 234 229 235 $bytes_written = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)