[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 12:37:00 UTC 2023
#59391: Undefined variable used in
Tests_Blocks_Editor::filter_set_block_editor_settings_post
------------------------------+----------------------
Reporter: david.binda | Owner: costdev
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Editor | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by costdev):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"56619" 56619]:
{{{
#!CommitTicketReference repository="" revision="56619"
Editor: Fix parameter reference in block editor settings tests.
In [50776], the `filter_set_block_editor_settings_post()` callback was
introduced for use in block editor settings tests.
This contained a reference to an `$allowed_block_types` parameter, which
doesn't exist.
This changes the reference to `$editor_settings`.
Follow-up to [50776].
Props david.binda, mukesh27, SergeyBiryukov.
Fixes #59391.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59391#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list