WordPress.org

Make WordPress Core

Ticket #37334: 37334.diff

File 37334.diff, 379 bytes (added by swissspidy, 23 months ago)
  • src/wp-includes/class-wp-editor.php

    diff --git src/wp-includes/class-wp-editor.php src/wp-includes/class-wp-editor.php
    index c0915b8..e8fc72d 100644
    final class _WP_Editors { 
    790790                if ( self::$has_medialib ) {
    791791                        add_thickbox();
    792792                        wp_enqueue_script('media-upload');
     793                        wp_enqueue_script('wp-embed');
    793794                }
    794795
    795796                /**