[wp-trac] [WordPress Trac] #61754: Unused array_merge call?
WordPress Trac
noreply at wordpress.org
Tue Sep 17 22:31:01 UTC 2024
#61754: Unused array_merge call?
---------------------------+----------------------------
Reporter: kkmuffme | Owner: davidbaumwald
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.7
Component: Script Loader | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+----------------------------
Changes (by SergeyBiryukov):
* status: closed => reopened
* resolution: fixed =>
Comment:
I believe the intention in [44265] / #45348 was to actually merge the
arrays, otherwise the `wp_editor_settings` filter is applied in
`wp_tinymce_inline_scripts()`, but the result is not used anywhere:
{{{
/** This filter is documented in wp-includes/class-wp-editor.php */
$editor_settings = apply_filters( 'wp_editor_settings', array( 'tinymce'
=> true ), 'classic-block' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61754#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list