Created
January 24, 2012 12:59
-
-
Save kanedo/1670080 to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp-content/plugins/wp-time-machine/includes/wpTimeMachineCore.php anschauen. Dort findet sich auf Zeile 865 folgende Funktion: function wpTimeMachine_enqueue_scripts() | |
{ | |
wp_deregister_script( 'jquery' ); | |
wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'); | |
wp_enqueue_script( 'jquery' ); | |
wp_deregister_script( 'jquery-ui-core' ); | |
wp_register_script( 'jquery-ui-core', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js' ); | |
wp_enqueue_script( 'jquery-ui-core' ); | |
wp_deregister_script( 'jquery-form' ); | |
wp_register_script( 'jquery-form', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.form.js' ); | |
wp_enqueue_script( 'jquery-form' ); | |
wp_register_script( 'jquery.validate', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.validate.js' ); | |
wp_enqueue_script( 'jquery.validate' ); | |
wp_register_script( 'jquery.fadeSliderToggle', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.fadeSliderToggle.js' ); | |
wp_enqueue_script( 'jquery.fadeSliderToggle' ); | |
wp_register_script( 'jquery.simplemodal-1.3.5.min', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.simplemodal-1.3.5.min.js' ); | |
wp_enqueue_script( 'jquery.simplemodal-1.3.5.min' ); | |
} Diese muss einfach zu folgender geändert werden: function wpTimeMachine_enqueue_scripts() | |
{ | |
/* wp_deregister_script( 'jquery' ); | |
wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'); | |
wp_enqueue_script( 'jquery' ); | |
wp_deregister_script( 'jquery-ui-core' ); | |
wp_register_script( 'jquery-ui-core', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js' ); | |
wp_enqueue_script( 'jquery-ui-core' ); */ | |
wp_deregister_script( 'jquery-form' ); | |
wp_register_script( 'jquery-form', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.form.js' ); | |
wp_enqueue_script( 'jquery-form' ); | |
wp_register_script( 'jquery.validate', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.validate.js' ); | |
wp_enqueue_script( 'jquery.validate' ); | |
wp_register_script( 'jquery.fadeSliderToggle', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.fadeSliderToggle.js' ); | |
wp_enqueue_script( 'jquery.fadeSliderToggle' ); | |
wp_register_script( 'jquery.simplemodal-1.3.5.min', wpcontent_url . '/plugins/wp-time-machine/javascript/jquery.simplemodal-1.3.5.min.js' ); | |
wp_enqueue_script( 'jquery.simplemodal-1.3.5.min' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment