Make WordPress Core

Ticket #41158: increase-z-index.diff

File increase-z-index.diff, 1.6 KB (added by greuben, 7 years ago)
  • src/wp-includes/class-wp-customize-nav-menus.php

    diff --git i/src/wp-includes/class-wp-customize-nav-menus.php w/src/wp-includes/class-wp-customize-nav-menus.php
    index e263e3f391..d1985b9ad8 100644
    i w final class WP_Customize_Nav_Menus { 
    11321132                add_action( 'wp_enqueue_scripts', array( $this, 'customize_preview_enqueue_deps' ) );
    11331133                add_filter( 'wp_nav_menu_args', array( $this, 'filter_wp_nav_menu_args' ), 1000 );
    11341134                add_filter( 'wp_nav_menu', array( $this, 'filter_wp_nav_menu' ), 10, 2 );
    1135                 add_filter( 'wp_footer', array( $this, 'export_preview_data' ), 1 );
     1135                add_action( 'wp_footer', array( $this, 'export_preview_data' ), 1 );
    11361136                add_filter( 'customize_render_partials_response', array( $this, 'export_partial_rendered_nav_menu_instances' ) );
    11371137        }
    11381138
  • src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    diff --git i/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js w/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
    index 08e3cf78c9..b32cf2c893 100644
    i w  
    11/* global getUserSetting, setUserSetting */
    22( function( tinymce ) {
    3 // Set the minimum value for the modals z-index higher than #wpadminbar (100000)
    4 tinymce.ui.FloatPanel.zIndex = 100100;
     3// Set the minimum value for the modals z-index higher than .wp-full-overlay (500000)
     4if ( tinymce.ui.FloatPanel.zIndex < 500001 ) {
     5        tinymce.ui.FloatPanel.zIndex = 500001;
     6}
    57
    68tinymce.PluginManager.add( 'wordpress', function( editor ) {
    79        var wpAdvButton, style,