Opened 3 months ago
Closed 3 months ago
#59391 closed defect (bug) (fixed)
Undefined variable used in Tests_Blocks_Editor::filter_set_block_editor_settings_post
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Editor | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (5)
#1
@
3 months ago
- Component changed from General to Editor
- Keywords has-patch commit added
- Milestone changed from Awaiting Review to 6.4
- Owner set to costdev
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
Thanks @davidbinda for the ticket and PR.
It happened because the function was copied from above function
filter_set_allowed_block_types_post
.Mark as
commit