Make WordPress Core

Ticket #59391: 59391.diff

File 59391.diff, 447 bytes (added by david.binda, 15 months ago)
  • tests/phpunit/tests/blocks/editor.php

     
    6565
    6666        public function filter_set_block_editor_settings_post( $editor_settings, $post ) {
    6767                if ( empty( $post ) ) {
    68                         return $allowed_block_types;
     68                        return $editor_settings;
    6969                }
    7070
    7171                return array(