mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Two more hook docs fixes.
`image_memory_limit` filter: * Go with int|string on the limit, and simply notate '256M' as an acceptable string value. `wp_editor_set_quality` filter: * Add a missing parameter description for the mime type. See #25721. git-svn-id: https://develop.svn.wordpress.org/trunk@26650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -217,7 +217,8 @@ abstract class WP_Image_Editor {
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param int $quality Quality level between 1 (low) and 100 (high).
|
||||
* @param int $quality Quality level between 1 (low) and 100 (high).
|
||||
* @param string $mime_type Image mime type.
|
||||
*/
|
||||
$quality = apply_filters( 'wp_editor_set_quality', $quality, $this->mime_type );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user