Make WordPress Core

Ticket #46686: 46686.diff

File 46686.diff, 703 bytes (added by Jean-David, 6 years ago)
  • wp-admin/customize.php

    diff --git a/wp-admin/customize.php b/wp-admin/customize.php
    index fd05538bbc..e37d935dba 100644
    a b do_action( 'customize_controls_print_scripts' ); 
    187187                                <span class="controls"><?php _e( 'Customize' ); ?></span>
    188188                                <span class="preview"><?php _e( 'Preview' ); ?></span>
    189189                        </button>
    190                         <a class="customize-controls-close" href="<?php echo esc_url( $wp_customize->get_return_url() ); ?>">
     190                        <a class="customize-controls-close" href="<?php echo esc_url( admin_url( 'themes.php' ) ); ?>">
    191191                                <span class="screen-reader-text"><?php _e( 'Close the Customizer and go back to the previous page' ); ?></span>
    192192                        </a>
    193193                </div>