- Timestamp:
- 10/16/2022 03:44:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r54415 r54520 688 688 * @since 5.3.1 689 689 * 690 * @param string $block_name Original block name. 690 * @param string|null $block_name Optional. Original block name. Null if the block name is unknown, 691 * e.g. Classic blocks have their name set to null. Default null. 691 692 * @return string Block name to use for serialization. 692 693 */ … … 784 785 * 785 786 * @param string $text Text that may contain block content. 786 * @param array[]|string $allowed_html An array of allowed HTML elements and attributes,787 * @param array[]|string $allowed_html Optional. An array of allowed HTML elements and attributes, 787 788 * or a context name such as 'post'. See wp_kses_allowed_html() 788 * for the list of accepted context names. 789 * for the list of accepted context names. Default 'post'. 789 790 * @param string[] $allowed_protocols Optional. Array of allowed URL protocols. 790 791 * Defaults to the result of wp_allowed_protocols(). … … 1413 1414 * 1414 1415 * @param WP_Block $block Block instance. 1415 *1416 1416 * @return array Returns the comment query parameters to use with the 1417 1417 * WP_Comment_Query constructor. … … 1484 1484 * 1485 1485 * @param WP_Block $block Block instance. 1486 * @param string $pagination_type Type of the arrow we will be rendering. 1487 * Default 'next'. Accepts 'next' or 'previous'. 1488 * 1486 * @param string $pagination_type Optional. Type of the arrow we will be rendering. 1487 * Accepts 'next' or 'previous'. Default 'next'. 1489 1488 * @return string|null The pagination arrow HTML or null if there is none. 1490 1489 */
Note: See TracChangeset
for help on using the changeset viewer.