Make WordPress Core

Ticket #47079: 47079.diff

File 47079.diff, 470 bytes (added by mukesh27, 6 years ago)

Patch added.

  • wp-includes/blocks.php

    diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php
    index 169e4b3c25..e0c05e3b43 100644
    a b function excerpt_remove_blocks( $content ) { 
    149149         * If a dynamic block is added to this list, it must not generate another
    150150         * excerpt, as this will cause an infinite loop to occur.
    151151         *
    152          * @since 4.4.0
     152         * @since 5.0.0
    153153         *
    154154         * @param array $allowed_blocks The list of allowed blocks.
    155155         */