Ticket #26569: customize.php.patch
File customize.php.patch, 1.1 KB (added by , 11 years ago) |
---|
-
src/wp-admin/customize.php
205 205 'active' => $wp_customize->is_theme_active(), 206 206 ), 207 207 'url' => array( 208 'preview' => esc_url ( $url ? $url : home_url( '/' ) ),209 'parent' => esc_url ( admin_url() ),208 'preview' => esc_url_raw( $url ? $url : home_url( '/' ) ), 209 'parent' => esc_url_raw( admin_url() ), 210 210 'activated' => admin_url( 'themes.php?activated=true&previewed' ), 211 'ajax' => esc_url ( admin_url( 'admin-ajax.php', 'relative' ) ),211 'ajax' => esc_url_raw( admin_url( 'admin-ajax.php', 'relative' ) ), 212 212 'allowed' => array_map( 'esc_url', $allowed_urls ), 213 213 'isCrossDomain' => $cross_domain, 214 214 'fallback' => $fallback_url, 215 'home' => esc_url ( home_url( '/' ) ),215 'home' => esc_url_raw( home_url( '/' ) ), 216 216 'login' => $login_url, 217 217 ), 218 218 'browser' => array(