WordPress.org

Make WordPress Core

Ticket #25444: 25444.1.diff

File 25444.1.diff, 570 bytes (added by kpdesign, 8 years ago)

Add doc block for customize_allowed_urls

  • src/wp-admin/customize.php

     
    172172        if ( is_ssl() && ! $cross_domain )
    173173                $allowed_urls[] = home_url( '/', 'https' );
    174174
     175        /**
     176         * Filter the allowed URLS.
     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(