Ticket #21004: 21004.patch
File 21004.patch, 594 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/image-edit.php
352 352 function stream_preview_image($post_id) { 353 353 $post = get_post($post_id); 354 354 @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); 355 $img = load_image_to_edit( $post_id, $post->post_mime_type , array(400, 400));355 $img = load_image_to_edit( $post_id, $post->post_mime_type ); 356 356 357 357 if ( !is_resource($img) ) 358 358 return false;