mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Removes script queue check for 'customize-loader' from wp_customize_support_script(), because we may want to check for customize-support on a page without the loader. git-svn-id: https://develop.svn.wordpress.org/trunk@20918 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1636,9 +1636,6 @@ function wp_customize_url( $stylesheet ) {
|
||||
* @since 3.4.0
|
||||
*/
|
||||
function wp_customize_support_script() {
|
||||
if ( ! wp_script_is( 'customize-loader', 'queue' ) )
|
||||
return;
|
||||
|
||||
$admin_origin = parse_url( admin_url() );
|
||||
$home_origin = parse_url( home_url() );
|
||||
$cross_domain = ( strtolower( $admin_origin[ 'host' ] ) != strtolower( $home_origin[ 'host' ] ) );
|
||||
|
||||
Reference in New Issue
Block a user