Version Description
- registering scripts not queuing
Download this release
Release Info
Developer | Ramoonus |
Plugin | jQuery Updater |
Version | 3.4.1.3 |
Comparing to | |
See all releases |
Code changes from version 3.4.1.2 to 3.4.1.3
- jquery-updater.php +4 -4
- readme.txt +5 -2
jquery-updater.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: jQuery Updater
|
4 |
* Plugin URI: http://www.ramoonus.nl/wordpress/jquery-updater/
|
5 |
* Description: This plugin updates jQuery to the latest stable version.
|
6 |
-
* Version: 3.4.1.
|
7 |
* Author: Ramoonus
|
8 |
* Author URI: http://www.ramoonus.nl/
|
9 |
* License: GPL3
|
@@ -14,7 +14,7 @@
|
|
14 |
/**
|
15 |
* Replace jQuery with a newer version, load jQuery Migrate
|
16 |
*
|
17 |
-
* @version 3.4.1.
|
18 |
* @since 1.0.0
|
19 |
*/
|
20 |
function rw_jquery_updater()
|
@@ -24,13 +24,13 @@ function rw_jquery_updater()
|
|
24 |
// Deregister core jQuery
|
25 |
wp_deregister_script('jquery');
|
26 |
// Register
|
27 |
-
|
28 |
|
29 |
// jQuery Migrate
|
30 |
// Deregister core jQuery Migrate
|
31 |
wp_deregister_script('jquery-migrate');
|
32 |
// Register
|
33 |
-
|
34 |
'jquery'
|
35 |
), '3.0.0'); // require jquery, as loaded above
|
36 |
}
|
3 |
* Plugin Name: jQuery Updater
|
4 |
* Plugin URI: http://www.ramoonus.nl/wordpress/jquery-updater/
|
5 |
* Description: This plugin updates jQuery to the latest stable version.
|
6 |
+
* Version: 3.4.1.3
|
7 |
* Author: Ramoonus
|
8 |
* Author URI: http://www.ramoonus.nl/
|
9 |
* License: GPL3
|
14 |
/**
|
15 |
* Replace jQuery with a newer version, load jQuery Migrate
|
16 |
*
|
17 |
+
* @version 3.4.1.3
|
18 |
* @since 1.0.0
|
19 |
*/
|
20 |
function rw_jquery_updater()
|
24 |
// Deregister core jQuery
|
25 |
wp_deregister_script('jquery');
|
26 |
// Register
|
27 |
+
wp_register_script('jquery', plugins_url('/js/jquery-3.4.1.min.js', __FILE__), false, '3.4.1');
|
28 |
|
29 |
// jQuery Migrate
|
30 |
// Deregister core jQuery Migrate
|
31 |
wp_deregister_script('jquery-migrate');
|
32 |
// Register
|
33 |
+
wp_register_script('jquery-migrate', plugins_url('/js/jquery-migrate-3.0.0.min.js', __FILE__), array(
|
34 |
'jquery'
|
35 |
), '3.0.0'); // require jquery, as loaded above
|
36 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Ramoonus
|
|
3 |
Donate link: http://www.ramoonus.nl/donate/
|
4 |
Tags: jquery, update, jquery ui, javascript, jq
|
5 |
Requires at least: 4.2
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 3.4.1.
|
8 |
Requires PHP: 5.6
|
9 |
|
10 |
This plugin updates jQuery to the latest stable version on your website.
|
@@ -51,6 +51,9 @@ A: Using jQuery version 2 could break your site. See the warning on the homepage
|
|
51 |
Please clear the server and browser cache after upgrading/disabling
|
52 |
|
53 |
== Changelog ==
|
|
|
|
|
|
|
54 |
= 3.4.1.2 =
|
55 |
* Reverted back queuing
|
56 |
|
3 |
Donate link: http://www.ramoonus.nl/donate/
|
4 |
Tags: jquery, update, jquery ui, javascript, jq
|
5 |
Requires at least: 4.2
|
6 |
+
Tested up to: 5.4
|
7 |
+
Stable tag: 3.4.1.2
|
8 |
Requires PHP: 5.6
|
9 |
|
10 |
This plugin updates jQuery to the latest stable version on your website.
|
51 |
Please clear the server and browser cache after upgrading/disabling
|
52 |
|
53 |
== Changelog ==
|
54 |
+
= 3.4.1.3 =
|
55 |
+
* registering scripts not queuing
|
56 |
+
|
57 |
= 3.4.1.2 =
|
58 |
* Reverted back queuing
|
59 |
|