Hook docs fixes following [26645].

See #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26648 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2013-12-04 23:31:21 +00:00
parent 62ce5c7a8c
commit ba4187de33
3 changed files with 15 additions and 10 deletions
+1
View 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 );