Make WordPress Core


Ignore:
Timestamp:
02/15/2026 11:17:55 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing null to $post parameter types in various functions.

Props apermo.
Fixes #64645.

File:
1 edited

Legend:

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

    r56549 r61649  
    361361     * @since 4.8.0
    362362     *
    363      * @param array   $states An array of media states.
    364      * @param WP_Post $post   The current attachment object.
     363     * @param array        $states An array of media states.
     364     * @param WP_Post|null $post   The current attachment object.
    365365     * @return array
    366366     */
Note: See TracChangeset for help on using the changeset viewer.