Make WordPress Core

Ticket #25444: 25444.3.diff

File 25444.3.diff, 1.4 KB (added by kpdesign, 11 years ago)

Fix customize_allowed_urls short description (URLs, not URLS)

  • src/wp-admin/customize.php

     
    4444wp_enqueue_script( 'accordion' );
    4545
    4646/**
    47  * Fires when additional Customizer controls scripts are enqueued.
     47 * Fires for enqueueing additional Customizer controls 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 * Fires for printing Customizer controls 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 * Fires for printing Customizer controls scripts.
    8888 *
    8989 * @since 3.4.0
    9090 */
     
    151151        <?php
    152152
    153153        /**
    154          * Fires when Customizer controls footer scripts are printed.
     154         * Fires for printing Customizer controls footer scripts.
    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(