Ticket #4151: 4151.thumbnail.creation.patch
File 4151.thumbnail.creation.patch, 493 bytes (added by , 17 years ago) |
---|
-
wp-admin/admin-functions.php
2317 2317 $error = __( "Thumbnail path invalid" ); 2318 2318 } 2319 2319 } 2320 if( empty($error) ){ 2321 // Set correct file permissions 2322 $stat = stat( dirname( $thumbpath )); 2323 $perms = $stat['mode'] & 0000666; 2324 @ chmod( $thumbpath, $perms ); 2325 } 2320 2326 2321 2327 } 2322 2328 } else {