diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php
index e4b2ba9..07c6022 100644
a
|
b
|
abstract class WP_Image_Editor { |
204 | 204 | * @return boolean |
205 | 205 | */ |
206 | 206 | public function set_quality( $quality ) { |
207 | | /** |
208 | | * Filter the default quality setting. |
209 | | * |
210 | | * @since 3.5.0 |
211 | | * |
212 | | * @param int $quality Quality level between 0 (low) and 100 (high). |
213 | | */ |
| 207 | /** |
| 208 | * Filter the default quality setting. |
| 209 | * |
| 210 | * @since 3.5.0 |
| 211 | * |
| 212 | * @param int $quality Quality level between 0 (low) and 100 (high). |
| 213 | */ |
214 | 214 | $this->quality = apply_filters( 'wp_editor_set_quality', $quality ); |
215 | 215 | |
216 | 216 | return ( (bool) $this->quality ); |
… |
… |
abstract class WP_Image_Editor { |
260 | 260 | // Double-check that the mime-type selected is supported by the editor. |
261 | 261 | // If not, choose a default instead. |
262 | 262 | if ( ! $this->supports_mime_type( $mime_type ) ) { |
263 | | /** |
264 | | * Filter default mime type prior to getting the file extension. |
265 | | * |
266 | | * @see wp_get_mime_types() |
267 | | * |
268 | | * @since 3.5.0 |
269 | | * |
270 | | * @param string $mime_type Mime type string. |
271 | | */ |
| 263 | /** |
| 264 | * Filter default mime type prior to getting the file extension. |
| 265 | * |
| 266 | * @see wp_get_mime_types() |
| 267 | * |
| 268 | * @since 3.5.0 |
| 269 | * |
| 270 | * @param string $mime_type Mime type string. |
| 271 | */ |
272 | 272 | $mime_type = apply_filters( 'image_editor_default_mime_type', $this->default_mime_type ); |
273 | 273 | $new_ext = $this->get_extension( $mime_type ); |
274 | 274 | } |