Changeset 46214 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 09/20/2019 10:01:36 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r46206 r46214 1376 1376 ) 1377 1377 ); 1378 1379 // In PHP < 5.6 filesize() returns 0 for the temp files unless we clear the file status cache.1380 // Technically, PHP < 5.6.0 || < 5.5.13 || < 5.4.29 but no need to be so targeted.1381 // See https://bugs.php.net/bug.php?id=657011382 if ( version_compare( PHP_VERSION, '5.6', '<' ) ) {1383 clearstatcache();1384 }1385 1378 1386 1379 $attachment_id = media_handle_sideload( $file_array, 0, null, $attachment_post_data );
Note: See TracChangeset
for help on using the changeset viewer.