WordPress.org

Make WordPress Core

Ticket #25618: 25618.patch

File 25618.patch, 1.8 KB (added by westonruter, 7 years ago)
  • src/wp-includes/class-wp-customize-manager.php

     
    2828         * @since 3.4.0
    2929         */
    3030        public function __construct() {
    31                 require( ABSPATH . WPINC . '/class-wp-customize-setting.php' );
    32                 require( ABSPATH . WPINC . '/class-wp-customize-section.php' );
    33                 require( ABSPATH . WPINC . '/class-wp-customize-control.php' );
     31                require_once( ABSPATH . WPINC . '/class-wp-customize-setting.php' );
     32                require_once( ABSPATH . WPINC . '/class-wp-customize-section.php' );
     33                require_once( ABSPATH . WPINC . '/class-wp-customize-control.php' );
    3434
    3535                add_filter( 'wp_die_handler', array( $this, 'wp_die_handler' ) );
    3636
  • src/wp-includes/css/media-views.css

     
    9797        left: 30px;
    9898        right: 30px;
    9999        bottom: 30px;
    100         z-index: 160000;
     100        z-index: 660000;
    101101}
    102102
    103103.media-modal-backdrop {
     
    109109        min-height: 360px;
    110110        background: #000;
    111111        opacity: 0.7;
    112         z-index: 159900;
     112        z-index: 559900;
    113113}
    114114
    115115.media-modal-close {
  • src/wp-includes/media.php

     
    19411941        require_once ABSPATH . WPINC . '/media-template.php';
    19421942        add_action( 'admin_footer', 'wp_print_media_templates' );
    19431943        add_action( 'wp_footer', 'wp_print_media_templates' );
     1944        add_action( 'customize_controls_print_footer_scripts', 'wp_print_media_templates' );
    19441945
    19451946        do_action( 'wp_enqueue_media' );
    19461947}