WordPress.org

Make WordPress Core

Ticket #17942: 17942.diff

File 17942.diff, 618 bytes (added by nacin, 7 years ago)
  • wp-admin/includes/post.php

     
    18091809                'help' => array( 'title' => __('Help (Alt + Shift + H)'), 'onclick' => 'fullscreen.help();', 'both' => false )
    18101810        );
    18111811
     1812        if ( is_multisite() && ( ( ! $mu_media_buttons = get_site_option( 'mu_media_buttons' ) ) || empty( $mu_media_buttons['image'] ) ) )
     1813                unset( $buttons['image'] );
     1814
    18121815        $buttons = apply_filters( 'wp_fullscreen_buttons', $buttons );
    18131816
    18141817        foreach ( $buttons as $button => $args ) {