Remove wp_image_editor_class filter. wp_image_editors is sufficient. props scribu. fixes #22538.

git-svn-id: https://develop.svn.wordpress.org/trunk@22859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-11-27 02:27:11 +00:00
parent a2535a19b9
commit 929d79714b
1 changed files with 1 additions and 1 deletions

View File

@ -1161,7 +1161,7 @@ function wp_get_image_editor( $path, $args = array() ) {
$args['mime_type'] = $file_info['type'];
}
$implementation = apply_filters( 'wp_image_editor_class', _wp_image_editor_choose( $args ) );
$implementation = _wp_image_editor_choose( $args );
if ( $implementation ) {
$editor = new $implementation( $path );