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:
parent
a2535a19b9
commit
929d79714b
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user