WordPress.org

Make WordPress Core

Changeset 52303


Ignore:
Timestamp:
12/01/2021 11:59:55 PM (8 weeks ago)
Author:
audrasjb
Message:

Docs: Add missing @param to wp_set_unique_slug_on_create_template_part().

Follow-up to [52062].

See #53399.

File:
1 edited

Legend:

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

    r52243 r52303  
    55 *
    66 * This is only needed for auto-drafts created by the regular WP editor.
    7  * If this page is to be removed, this won't be necessary.
     7 * If this page is to be removed, this will not be necessary.
    88 *
    99 * @since 5.9.0
    1010 *
     11 * @param int $post_id Post ID.
    1112 */
    1213function wp_set_unique_slug_on_create_template_part( $post_id ) {
     
    99100
    100101/**
    101  * Print the skip-link script & styles.
     102 * Prints the skip-link script & styles.
    102103 *
    103104 * @access private
     
    205206
    206207/**
    207  * Enable the block templates (editor mode) for themes with theme.json by default.
     208 * Enables the block templates (editor mode) for themes with theme.json by default.
    208209 *
    209210 * @access private
Note: See TracChangeset for help on using the changeset viewer.