Parsed: 131566
<?php /** * Server-side rendering of the `core/comments` block. * * @package WordPress */ /* function render_block_core_comments() – Renders the `core/comments` block on the server. */ /* function register_block_core_comments() – Registers the `core/comments` block on the server. */ add_action( 'init', 'register_block_core_comments' ); /* function comments_block_form_defaults() – Use the button block classes for the form-submit button. */ add_filter( 'comment_form_defaults', 'comments_block_form_defaults' ); /* function enqueue_legacy_post_comments_block_styles() – Enqueues styles from the legacy `core/post-comments` block. These styles are required only by the block’s fallback. */ /* function register_legacy_post_comments_block() – Ensures backwards compatibility for any users running the Gutenberg plugin who have used Post Comments before it was merged into Comments Query Loop. */ add_action( 'init', 'register_legacy_post_comments_block', 21 );