Make WordPress Core

Changeset 51477


Ignore:
Timestamp:
07/22/2021 04:53:59 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock corrections and improvements.

See #53399

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r50916 r51477  
    8989 * @ignore
    9090 * @since 2.3.0
    91  *
    92  * @global string    $wp_local_package Locale code of the package.
    93  * @global WP_Locale $wp_locale        WordPress date and time locale object.
    9491 *
    9592 * @param string|string[] $body_classes Class attribute values for the body tag.
  • trunk/src/wp-includes/blocks.php

    r51379 r51477  
    347347 *
    348348 * @since 5.0.0
    349  * @since 5.8.0 First param accepts a path to the `block.json` file.
     349 * @since 5.8.0 First parameter now accepts a path to the `block.json` file.
    350350 *
    351351 * @param string|WP_Block_Type $block_type Block type name including namespace, or alternatively
     
    723723     * @since 5.8.0
    724724     *
    725      * @param array $allowed_wrapper_blocks The list of allowed wrapper blocks.
     725     * @param string[] $allowed_wrapper_blocks The list of names of allowed wrapper blocks.
    726726     */
    727727    $allowed_wrapper_blocks = apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks );
     
    737737     * @since 5.0.0
    738738     *
    739      * @param array $allowed_blocks The list of allowed blocks.
     739     * @param string[] $allowed_blocks The list of names of allowed blocks.
    740740     */
    741741    $allowed_blocks = apply_filters( 'excerpt_allowed_blocks', $allowed_blocks );
     
    773773 * for generating an excerpt.
    774774 *
    775  * @since 5.8
     775 * @since 5.8.0
    776776 * @access private
    777777 *
  • trunk/src/wp-includes/wp-db.php

    r51396 r51477  
    599599     *
    600600     * @link https://core.trac.wordpress.org/ticket/3354
    601      * @global string $wp_version The WordPress version string.
    602601     *
    603602     * @param string $dbuser     MySQL database user.
Note: See TracChangeset for help on using the changeset viewer.