Version Description
As requested on the wordpress.org support forms: * Added jQuery (update) to the login screen * Improved queing
Download this release
Release Info
Developer | Ramoonus |
Plugin | jQuery Updater |
Version | 3.4.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.4.1 to 3.4.1.1
- jquery-updater.php +6 -6
- readme.txt +6 -1
jquery-updater.php
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
4 |
* Plugin Name: jQuery Updater
|
5 |
* Plugin URI: http://www.ramoonus.nl/wordpress/jquery-updater/
|
6 |
* Description: This plugin updates jQuery to the latest stable version.
|
7 |
-
* Version: 3.4.1
|
8 |
* Author: Ramoonus
|
9 |
* Author URI: http://www.ramoonus.nl/
|
10 |
* License: GPL3
|
@@ -25,13 +24,13 @@ function rw_jquery_updater()
|
|
25 |
// Deregister core jQuery
|
26 |
wp_deregister_script('jquery');
|
27 |
// Register
|
28 |
-
|
29 |
|
30 |
// jQuery Migrate
|
31 |
// Deregister core jQuery Migrate
|
32 |
wp_deregister_script('jquery-migrate');
|
33 |
// Register
|
34 |
-
|
35 |
'jquery'
|
36 |
), '3.0.0'); // require jquery, as loaded above
|
37 |
}
|
@@ -40,6 +39,7 @@ function rw_jquery_updater()
|
|
40 |
* Front-End
|
41 |
*/
|
42 |
add_action('wp_enqueue_scripts', 'rw_jquery_updater');
|
|
|
43 |
|
44 |
/**
|
45 |
* Load translation
|
@@ -48,9 +48,9 @@ add_action('wp_enqueue_scripts', 'rw_jquery_updater');
|
|
48 |
* @version 1.0
|
49 |
*
|
50 |
*/
|
51 |
-
function
|
52 |
{
|
53 |
load_plugin_textdomain('jquery-updater', FALSE, basename(dirname(__FILE__)) . '/languages/');
|
54 |
}
|
55 |
|
56 |
-
add_action('plugins_loaded', '
|
1 |
<?php
|
|
|
2 |
/**
|
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.1
|
7 |
* Author: Ramoonus
|
8 |
* Author URI: http://www.ramoonus.nl/
|
9 |
* License: GPL3
|
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 |
}
|
39 |
* Front-End
|
40 |
*/
|
41 |
add_action('wp_enqueue_scripts', 'rw_jquery_updater');
|
42 |
+
add_action('login_enqueue_scripts', 'rw_jquery_updater', 1); // since 3.4.0.1
|
43 |
|
44 |
/**
|
45 |
* Load translation
|
48 |
* @version 1.0
|
49 |
*
|
50 |
*/
|
51 |
+
function rw_load_plugin_textdomain()
|
52 |
{
|
53 |
load_plugin_textdomain('jquery-updater', FALSE, basename(dirname(__FILE__)) . '/languages/');
|
54 |
}
|
55 |
|
56 |
+
add_action('plugins_loaded', 'rw_load_plugin_textdomain');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.2
|
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,11 @@ 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 =
|
55 |
* Updated [jQuery to 3.4.1](http://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/)
|
56 |
|
4 |
Tags: jquery, update, jquery ui, javascript, jq
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 5.2
|
7 |
+
Stable tag: 3.4.1.1
|
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.1 =
|
55 |
+
As requested on the wordpress.org support forms:
|
56 |
+
* Added jQuery (update) to the login screen
|
57 |
+
* Improved queing
|
58 |
+
|
59 |
= 3.4.1 =
|
60 |
* Updated [jQuery to 3.4.1](http://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/)
|
61 |
|