[wp-trac] [WordPress Trac] #61754: Unused array_merge call?

WordPress Trac noreply at wordpress.org
Fri Sep 20 14:07:28 UTC 2024


#61754: Unused array_merge call?
---------------------------+----------------------------
 Reporter:  kkmuffme       |       Owner:  davidbaumwald
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.7
Component:  Script Loader  |     Version:  5.0
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59074" 59074]:
 {{{
 #!CommitTicketReference repository="" revision="59074"
 Editor: Restore the merging of TinyMCE settings in
 `wp_tinymce_inline_scripts()`.

 This ensures that the function applies the `wp_editor_settings` filter and
 merges the resulting array with the rest of TinyMCE init settings.

 Includes a unit test to verify that the settings are merged correctly
 after adding the assignment of `array_merge()` result that was missed in
 the initial commit.

 Follow-up to [44265], [59033].

 Props kkmuffme, akshat2802, davidbaumwald, SergeyBiryukov.
 Fixes #61754.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61754#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list