Fix phpdoc indentation for hooks in wp-includes/class-wp-image-editor.php.
Props gayadesign. Fixes #25504. git-svn-id: https://develop.svn.wordpress.org/trunk@25714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a541f2e31e
commit
46a60cc6d5
@ -205,12 +205,12 @@ abstract class WP_Image_Editor {
|
||||
*/
|
||||
public function set_quality( $quality ) {
|
||||
/**
|
||||
* Filter the default quality setting.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param int $quality Quality level between 0 (low) and 100 (high).
|
||||
*/
|
||||
* Filter the default quality setting.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param int $quality Quality level between 0 (low) and 100 (high).
|
||||
*/
|
||||
$this->quality = apply_filters( 'wp_editor_set_quality', $quality );
|
||||
|
||||
return ( (bool) $this->quality );
|
||||
@ -261,14 +261,14 @@ abstract class WP_Image_Editor {
|
||||
// If not, choose a default instead.
|
||||
if ( ! $this->supports_mime_type( $mime_type ) ) {
|
||||
/**
|
||||
* Filter default mime type prior to getting the file extension.
|
||||
*
|
||||
* @see wp_get_mime_types()
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param string $mime_type Mime type string.
|
||||
*/
|
||||
* Filter default mime type prior to getting the file extension.
|
||||
*
|
||||
* @see wp_get_mime_types()
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param string $mime_type Mime type string.
|
||||
*/
|
||||
$mime_type = apply_filters( 'image_editor_default_mime_type', $this->default_mime_type );
|
||||
$new_ext = $this->get_extension( $mime_type );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user