Ticket #34124: 34124.patch
File 34124.patch, 498 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/media.php
diff --git src/wp-includes/media.php src/wp-includes/media.php index 44e18f4..a3aa8f6 100644
function image_get_intermediate_size( $post_id, $size = 'thumbnail' ) { 658 658 $data['path'] = path_join( dirname($imagedata['file']), $data['file'] ); 659 659 $data['url'] = path_join( dirname($file_url), $data['file'] ); 660 660 } 661 return $data;661 return apply_filters( 'image_get_intermediate_size', $data, $post_id, $size ); 662 662 } 663 663 664 664 /**