Changeset 58187 for trunk/src/wp-includes/blocks/comments.php
- Timestamp:
- 05/23/2024 07:37:08 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/comments.php
r56065 r58187 16 16 * the block is in legacy mode. If not, the HTML generated in the editor is 17 17 * returned instead. 18 * 19 * @since 6.1.0 20 * 21 * @global WP_Post $post Global post object. 18 22 * 19 23 * @param array $attributes Block attributes. … … 84 88 /** 85 89 * Registers the `core/comments` block on the server. 90 * 91 * @since 6.1.0 86 92 */ 87 93 function register_block_core_comments() { … … 99 105 * Use the button block classes for the form-submit button. 100 106 * 107 * @since 6.1.0 108 * 101 109 * @param array $fields The default comment form arguments. 102 110 * … … 116 124 * Enqueues styles from the legacy `core/post-comments` block. These styles are 117 125 * required only by the block's fallback. 126 * 127 * @since 6.1.0 118 128 * 119 129 * @param string $block_name Name of the new block type. … … 141 151 * The same approach was followed when core/query-loop was renamed to 142 152 * core/post-template. 153 * 154 * @since 6.1.0 143 155 * 144 156 * @see https://github.com/WordPress/gutenberg/pull/41807
Note: See TracChangeset
for help on using the changeset viewer.