Make WordPress Core


Ignore:
Timestamp:
10/27/2019 07:09:10 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Correct invalid hook docblocks.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r46596 r46603  
    636636         * @since 5.3.0
    637637         *
    638          * @param bool The filtered value.
    639          * @param int  Original image width.
    640          * @param int  Original image height.
     638         * @param bool $proceed The filtered value.
     639         * @param int  $orig_w  Original image width.
     640         * @param int  $orig_h  Original image height.
    641641         */
    642642        $proceed = (bool) apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h );
     
    36973697     * @link https://core.trac.wordpress.org/ticket/31071
    36983698     *
    3699      * @param bool|null Whether to show the button, or `null` to decide based
    3700      *                  on whether any audio files exist in the media library.
     3699     * @param bool|null $show Whether to show the button, or `null` to decide based
     3700     *                        on whether any audio files exist in the media library.
    37013701     */
    37023702    $show_audio_playlist = apply_filters( 'media_library_show_audio_playlist', true );
     
    37273727     * @link https://core.trac.wordpress.org/ticket/31071
    37283728     *
    3729      * @param bool|null Whether to show the button, or `null` to decide based
    3730      *                  on whether any video files exist in the media library.
     3729     * @param bool|null $show Whether to show the button, or `null` to decide based
     3730     *                        on whether any video files exist in the media library.
    37313731     */
    37323732    $show_video_playlist = apply_filters( 'media_library_show_video_playlist', true );
     
    37553755     * @link https://core.trac.wordpress.org/ticket/31071
    37563756     *
    3757      * @param array|null An array of objects with `month` and `year`
    3758      *                   properties, or `null` (or any other non-array value)
    3759      *                   for default behavior.
     3757     * @param array|null $months An array of objects with `month` and `year`
     3758     *                           properties, or `null` (or any other non-array value)
     3759     *                           for default behavior.
    37603760     */
    37613761    $months = apply_filters( 'media_library_months_with_files', null );
Note: See TracChangeset for help on using the changeset viewer.