[wp-trac] [WordPress Trac] #59391: Undefined variable used in Tests_Blocks_Editor::filter_set_block_editor_settings_post
WordPress Trac
noreply at wordpress.org
Tue Sep 19 11:53:27 UTC 2023
#59391: Undefined variable used in
Tests_Blocks_Editor::filter_set_block_editor_settings_post
--------------------------+-----------------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The `$allowed_block_types` variable in
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/blocks/editor.php?rev=56559#L68
is not defined. IHMO, `$editor_settings` should have been used instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59391>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list