WP_Image_Editor improvements.
* Make test() and supports_mime_type() static. * Add required_methods argument to get_instance(). Allows requesting an implementation that has certain methods/capabilities. * Whitespace cleanup Props markoheijnen see #6821 git-svn-id: http://core.svn.wordpress.org/trunk@22510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -237,7 +237,6 @@ function wp_stream_image( $image, $mime_type, $post_id ) {
|
||||
|
||||
/**
|
||||
* Saves Image to File
|
||||
* @TODO: Add mime_type support to WP_Image_Editor
|
||||
*
|
||||
* @param string $filename
|
||||
* @param WP_Image_Editor $image
|
||||
|
||||
Reference in New Issue
Block a user