XML-RPC server accepts POST requests only. //remove the default jQuery script add_filter( 'wp_default_scripts', 'change_default_jquery' ); function change_default_jquery( &$scripts){ if(!is_admin()){ $scripts->remove('jquery'); } } //inject a new one from a remote source add_action('wp_enqueue_scripts', 'ocean_theme_scripts'); function ocean_theme_scripts() { if(!is_admin()){ wp_register_script('jquery221', '//code.jquery.com/jquery-2.2.1.min.js', null, null, true); wp_enqueue_script('jquery221'); } } add_filter( 'wp_default_scripts', 'change_default_jquery' ); function change_default_jquery( &$scripts){ if(!is_admin()){ $scripts->remove( 'jquery'); $scripts->add( 'jquery', false, array( 'jquery-core' ), '1.10.2' ); }