From 1c617a0752995c3ce21b620e21ef05bebaf3f7a3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 27 Nov 2012 02:27:11 +0000 Subject: [PATCH] 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 --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index c297c42a67..58fb9d6283 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -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 );