Make WordPress Core

Ticket #63287: post-content-after.diff

File post-content-after.diff, 623 bytes (added by obenland, 16 months ago)

Diff to make tests fail

  • tests/phpunit/tests/blocks/applyBlockHooksToContentFromPostObject.php

    diff --git tests/phpunit/tests/blocks/applyBlockHooksToContentFromPostObject.php tests/phpunit/tests/blocks/applyBlockHooksToContentFromPostObject.php
    index df9d560ac9..da6465868d 100644
    class Tests_Blocks_ApplyBlockHooksToContentFromPostObject extends WP_UnitTestCas  
    8888                                ),
    8989                        )
    9090                );
     91
     92                register_block_type(
     93                        'tests/other-hooked-block',
     94                        array(
     95                                'block_hooks' => array(
     96                                        'core/post-content' => 'after',
     97                                ),
     98                        )
     99                );
    91100        }
    92101
    93102        /**