WordPress.org

Make WordPress Core

Ticket #25444: 25444.4.diff

File 25444.4.diff, 1.3 KB (added by DrewAPicture, 8 years ago)
  • src/wp-admin/customize.php

     
    4444wp_enqueue_script( 'accordion' );
    4545
    4646/**
    47  * Fires when additional Customizer controls scripts are enqueued.
     47 * Enqueue Customizer control scripts.
    4848 *
    4949 * @since 3.4.0
    5050 */
     
    7777?><title><?php echo $admin_title; ?></title><?php
    7878
    7979/**
    80  * Fires when Customizer controls styles are printed.
     80 * Print Customizer control styles.
    8181 *
    8282 * @since 3.4.0
    8383 */
    8484do_action( 'customize_controls_print_styles' );
    8585
    8686/**
    87  * Fires when Customizer controls scripts are printed.
     87 * Print Customizer control scripts.
    8888 *
    8989 * @since 3.4.0
    9090 */
     
    151151        <?php
    152152
    153153        /**
    154          * Fires when Customizer controls footer scripts are printed.
     154         * Print Customizer control scripts in the footer.
    155155         *
    156156         * @since 3.4.0
    157157         */
     
    172172        if ( is_ssl() && ! $cross_domain )
    173173                $allowed_urls[] = home_url( '/', 'https' );
    174174
     175        /**
     176         * Filter URLs that can be clicked, and will be followed, in the Customizer preview.
     177         *
     178         * @since 3.4.0
     179         *
     180         * @param array $allowed_urls An array of allowed URLs.
     181         */
    175182        $allowed_urls = array_unique( apply_filters( 'customize_allowed_urls', $allowed_urls ) );
    176183
    177184        $fallback_url = add_query_arg( array(