WordPress.org

Make WordPress Core

Ticket #42184: 42184.0.diff

File 42184.0.diff, 663 bytes (added by westonruter, 20 months ago)
  • src/wp-includes/class-wp-customize-manager.php

    diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
    index 654ab8104e..5ee7a04c33 100644
    final class WP_Customize_Manager { 
    402402                if ( current_user_can( 'install_themes' ) || current_user_can( 'update_themes' ) ) {
    403403                        require_once ABSPATH . '/wp-admin/includes/update.php';
    404404                        add_action( 'customize_controls_print_footer_scripts', 'wp_print_admin_notice_templates' );
     405                        add_action( 'customize_controls_print_footer_scripts', 'wp_print_request_filesystem_credentials_modal' );
    405406                }
    406407        }
    407408