Make WordPress Core


Ignore:
Timestamp:
05/03/2022 02:58:54 PM (4 years ago)
Author:
hellofromTonya
Message:

Editor: Update WordPress packages for 6.0 RC1.

Included cherry-picked commits from the Gutenberg plugin that fix bugs discovered after WordPress 6.0 Beta 4.

Props gziolo, zieladam, ndiego.

See #55567.

File:
1 edited

Legend:

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

    r53329 r53338  
    1717        if ( ! isset( $block->context['postId'] ) ) {
    1818                return '';
     19        }
     20
     21        if ( post_password_required( $block->context['postId'] ) ) {
     22                return;
    1923        }
    2024
Note: See TracChangeset for help on using the changeset viewer.