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

git-svn-id: http://core.svn.wordpress.org/trunk@22859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-27 02:27:11 +00:00
parent 902314ad3c
commit 1c617a0752
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 );