Make WordPress Core


Ignore:
Timestamp:
11/23/2021 09:35:57 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-supports.php

    r51246 r52236  
    5959
    6060    /**
    61      * Initializes the block supports. It registes the block supports block attributes.
     61     * Initializes the block supports. It registers the block supports block attributes.
    6262     *
    6363     * @since 5.6.0
     
    7373     * @since 5.6.0
    7474     *
    75      * @param string $block_support_name Block support name.
     75     * @param string $block_support_name   Block support name.
    7676     * @param array  $block_support_config Array containing the properties of the block support.
    7777     */
     
    8989     * @since 5.6.0
    9090     *
    91      * @return array Array of HTML attributes.
     91     * @return string[] Array of HTML attributes.
    9292     */
    9393    public function apply_block_supports() {
     
    164164 * @since 5.6.0
    165165 *
    166  * @param array $extra_attributes Optional. Extra attributes to render on the block wrapper.
    167  *
    168  * @return string String of HTML classes.
     166 * @param string[] $extra_attributes Optional. Array of extra attributes to render on the block wrapper.
     167 * @return string String of HTML attributes.
    169168 */
    170169function get_block_wrapper_attributes( $extra_attributes = array() ) {
Note: See TracChangeset for help on using the changeset viewer.