Make WordPress Core


Ignore:
Timestamp:
05/23/2024 07:37:08 PM (9 months ago)
Author:
ellatrix
Message:

Editor: Update npm packages.

Updates the editor npm packages to latest versions.

See https://github.com/WordPress/wordpress-develop/pull/6612.

Props ellatrix, mukesh27, youknowriad, mamaduka.

File:
1 edited

Legend:

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

    r56065 r58187  
    1616 * the block is in legacy mode. If not, the HTML generated in the editor is
    1717 * returned instead.
     18 *
     19 * @since 6.1.0
     20 *
     21 * @global WP_Post  $post     Global post object.
    1822 *
    1923 * @param array    $attributes Block attributes.
     
    8488/**
    8589 * Registers the `core/comments` block on the server.
     90 *
     91 * @since 6.1.0
    8692 */
    8793function register_block_core_comments() {
     
    99105 * Use the button block classes for the form-submit button.
    100106 *
     107 * @since 6.1.0
     108 *
    101109 * @param array $fields The default comment form arguments.
    102110 *
     
    116124 * Enqueues styles from the legacy `core/post-comments` block. These styles are
    117125 * required only by the block's fallback.
     126 *
     127 * @since 6.1.0
    118128 *
    119129 * @param string $block_name Name of the new block type.
     
    141151 * The same approach was followed when core/query-loop was renamed to
    142152 * core/post-template.
     153 *
     154 * @since 6.1.0
    143155 *
    144156 * @see https://github.com/WordPress/gutenberg/pull/41807
Note: See TracChangeset for help on using the changeset viewer.