]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/image-edit.php
WordPress 3.8.3
[autoinstalls/wordpress.git] / wp-admin / includes / image-edit.php
index 40cea96eb0fad6128cdcc31f1ab596eaa700fd58..f25546e5e7ed6b95ee118ee52da0506536a2752a 100644 (file)
@@ -259,6 +259,7 @@ function wp_save_image_file( $filename, $image, $mime_type, $post_id ) {
 
                switch ( $mime_type ) {
                        case 'image/jpeg':
+                               /** This filter is documented in wp-includes/class-wp-image-editor.php */
                                return imagejpeg( $image, $filename, apply_filters( 'jpeg_quality', 90, 'edit_image' ) );
                        case 'image/png':
                                return imagepng( $image, $filename );