From c1a94e50101ed75a806841b4eefd1c5a99291c0d Mon Sep 17 00:00:00 2001 From: MickeyKay Date: Mon, 7 Apr 2014 14:38:01 -0700 Subject: [PATCH] Fixed wp_localize_script call - switched to theme-jquery instead of trestle-custom-jquery. --- lib/functions/theme-functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/functions/theme-functions.php b/lib/functions/theme-functions.php index 0a6f339..971fdab 100644 --- a/lib/functions/theme-functions.php +++ b/lib/functions/theme-functions.php @@ -39,7 +39,9 @@ function trestle_header_actions() { $php_vars = array ( '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 '++++'; }