Make WordPress Core

Changeset 58561

Timestamp:
06/25/2024 12:43:06 PM (6 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock formatting in wp-includes/blocks.php.

Follow-up to [58471].

Props david.binda, narenin, sabernhardt, shital-patel, SergeyBiryukov.
Fixes #61493.

File:
1 edited

Legend:

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

    r58471 r58561  
    17751775}
    17761776
    1777 
    17781777/**
    17791778 * Sanitizes the value of the Template Part block's `tagName` attribute.
     
    17811780 * @since 6.5.5
    17821781 *
    1783  * @param string          $attribute_value  The attribute value to filter.
    1784  * @param string          $attribute_name    The attribute name.
    1785  * @param array[]|string  $allowed_html      An array of allowed HTML elements and attributes,
    1786  *                                           or a context name such as 'post'. See wp_kses_allowed_html()
    1787  *                                           for the list of accepted context names.
     1782 * @param string          The attribute value to filter.
     1783 * @param string           The attribute name.
     1784 * @param array[]|string     An array of allowed HTML elements and attributes,
     1785 *                                        or a context name such as 'post'. See wp_kses_allowed_html()
     1786 *                                        for the list of accepted context names.
    17881787 * @return string The sanitized attribute value.
    17891788 */
Note: See TracChangeset for help on using the changeset viewer.