Make WordPress Core

Changeset 59033


Ignore:
Timestamp:
09/17/2024 09:52:54 PM (4 weeks ago)
Author:
davidbaumwald
Message:

Script Loader: Remove unused array_merge.

This change removes an unused array_merge that was added in [44265].

Props kkmuffme, SergeyBiryukov, akshat2802.
Fixes #61754.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r58956 r59033  
    608608    if ( $disable_captions ) {
    609609        $tinymce_settings['wpeditimage_disable_captions'] = true;
    610     }
    611 
    612     if ( ! empty( $editor_settings['tinymce'] ) && is_array( $editor_settings['tinymce'] ) ) {
    613         array_merge( $tinymce_settings, $editor_settings['tinymce'] );
    614610    }
    615611
Note: See TracChangeset for help on using the changeset viewer.