mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Fixed wp_localize_script call - switched to theme-jquery instead of trestle-custom-jquery.
This commit is contained in:
@@ -39,7 +39,9 @@ function trestle_header_actions() {
|
|||||||
$php_vars = array (
|
$php_vars = array (
|
||||||
'trestle_equal_cols_breakpoint' => genesis_get_option( 'trestle_equal_cols_breakpoint' ),
|
'trestle_equal_cols_breakpoint' => genesis_get_option( 'trestle_equal_cols_breakpoint' ),
|
||||||
);
|
);
|
||||||
wp_localize_script( 'trestle-custom-jquery', 'php_vars', $php_vars );
|
wp_localize_script( 'theme-jquery', 'php_vars', $php_vars );
|
||||||
|
|
||||||
|
echo '++++';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user