WordPress.org

Make WordPress Core

Ticket #46157: 46157.diff

File 46157.diff, 601 bytes (added by aduth, 3 years ago)
  • src/wp-admin/edit-form-blocks.php

    diff --git src/wp-admin/edit-form-blocks.php src/wp-admin/edit-form-blocks.php
    index 5556bd7a62..a5698c84ed 100644
    $current_screen->is_block_editor( true ); 
    3232 */
    3333remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
    3434
     35/*
     36 * Block editor implements its own Options menu for toggling Document Panels.
     37 */
     38add_filter( 'screen_options_show_screen', '__return_false' );
     39
    3540wp_enqueue_script( 'heartbeat' );
    3641wp_enqueue_script( 'wp-edit-post' );
    3742wp_enqueue_script( 'wp-format-library' );