Define ajaxurl in the customizer.
props celloexpressions. see #25866. git-svn-id: https://develop.svn.wordpress.org/trunk@26082 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a2aed7b119
commit
adb2e127c1
|
@ -74,8 +74,13 @@ if ( is_rtl() )
|
|||
$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
|
||||
|
||||
$admin_title = sprintf( __( '%1$s — WordPress' ), strip_tags( sprintf( __( 'Customize %s' ), $wp_customize->theme()->display('Name') ) ) );
|
||||
?><title><?php echo $admin_title; ?></title><?php
|
||||
?><title><?php echo $admin_title; ?></title>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>';
|
||||
</script>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Print Customizer control styles.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue