forked from mirror/_s
Let's not forget to clear the js cache as they have changed.
This commit is contained in:
parent
e1f4b0add4
commit
4a3cd975ec
|
@ -116,9 +116,9 @@ add_action( 'widgets_init', '_s_widgets_init' );
|
|||
function _s_scripts() {
|
||||
wp_enqueue_style( '_s-style', get_stylesheet_uri() );
|
||||
|
||||
wp_enqueue_script( '_s-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true );
|
||||
wp_enqueue_script( '_s-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
|
||||
|
||||
wp_enqueue_script( '_s-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
|
||||
wp_enqueue_script( '_s-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
|
||||
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
|
|
|
@ -21,6 +21,6 @@ add_action( 'customize_register', '_s_customize_register' );
|
|||
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
|
||||
*/
|
||||
function _s_customize_preview_js() {
|
||||
wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
|
||||
wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
|
||||
}
|
||||
add_action( 'customize_preview_init', '_s_customize_preview_js' );
|
||||
|
|
Reference in New Issue