WordPress build repository browser

Changeset 60578


Ignore:
Timestamp:
11/18/2025 06:16:32 PM (6 days ago)
Author:
johnbillion
Message:

Docs: Correct the syntax of the $post_states parameter in some filters.

Merges r61261 to the 6.9 branch.

Reviewed By westonruter

Fixes #51403

Built from https://develop.svn.wordpress.org/branches/6.9@61266

Location:
branches/6.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.9/wp-admin/includes/template.php

    r60329 r60578  
    22732273     * @param string                 $post_states_html All relevant post states combined into an HTML string for display.
    22742274     *                                                 E.g. `&mdash; <span class='post-state'>Draft, </span><span class='post-state'>Sticky</span>`.
    2275      * @param string<string, string> $post_states      A mapping of post state slugs to translated post state labels.
     2275     * @param array<string, string> $post_states      A mapping of post state slugs to translated post state labels.
    22762276     *                                                 E.g. `array( 'draft' => __( 'Draft' ), 'sticky' => __( 'Sticky' ), ... )`.
    22772277     * @param WP_Post                $post             The current post object.
     
    23562356     *              with `function_exists()` before being used.
    23572357     *
    2358      * @param string<string, string> $post_states A mapping of post state slugs to translated post state labels.
     2358     * @param array<string, string> $post_states A mapping of post state slugs to translated post state labels.
    23592359     *                                            E.g. `array( 'draft' => __( 'Draft' ), 'sticky' => __( 'Sticky' ), ... )`.
    23602360     * @param WP_Post                $post        The current post object.
  • branches/6.9/wp-includes/version.php

    r60577 r60578  
    1717 * @global string $wp_version
    1818 */
    19 $wp_version = '6.9-RC2-61265';
     19$wp_version = '6.9-RC2-61266';
    2020
    2121/**
Note: See TracChangeset for help on using the changeset viewer.