gera3d
9/5/2015 - 12:05 AM

Revert jQuery back a version so ACF works in WordPress 4.3

Revert jQuery back a version so ACF works in WordPress 4.3

function cg_revert_jquery_version_admin() {
	wp_deregister_script( 'jquery' );
	wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js');
	wp_enqueue_script( 'jquery' );
}
add_action( 'admin_enqueue_scripts', 'cg_revert_jquery_version_admin' );