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/ms-blogs.php

    r59688 r61649  
    905905 * @since 4.9.0 Added the `$post` parameter.
    906906 *
    907  * @param string  $new_status The status the post is changing to.
    908  * @param string  $old_status The status the post is changing from.
    909  * @param WP_Post $post       Post object
     907 * @param string       $new_status The status the post is changing to.
     908 * @param string       $old_status The status the post is changing from.
     909 * @param WP_Post|null $post       Post object.
    910910 */
    911911function _update_posts_count_on_transition_post_status( $new_status, $old_status, $post = null ) {
Note: See TracChangeset for help on using the changeset viewer.