Make WordPress Core


Ignore:
Timestamp:
12/04/2013 11:50:33 PM (12 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor.php

    r26648 r26650  
    218218         * @since 3.5.0
    219219         *
    220          * @param int $quality Quality level between 1 (low) and 100 (high).
     220         * @param int    $quality   Quality level between 1 (low) and 100 (high).
     221         * @param string $mime_type Image mime type.
    221222         */
    222223        $quality = apply_filters( 'wp_editor_set_quality', $quality, $this->mime_type );
Note: See TracChangeset for help on using the changeset viewer.