Version Description
- Bugfix: Fixed a typo
Download this release
Release Info
Developer | Ramoonus |
Plugin | jQuery Updater |
Version | 3.5.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.5.1 to 3.5.1.1
- jquery-updater.php +6 -2
- readme.txt +4 -1
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.5.1
|
7 |
* Author: Ramoonus
|
8 |
* Author URI: http://www.ramoonus.nl/
|
9 |
* License: GPL3
|
@@ -27,12 +27,13 @@ function rw_jquery_updater()
|
|
27 |
$min = true;
|
28 |
$cdn = false; // google, microsoft, cdnjs, jsdelivr
|
29 |
$migrate = true;
|
|
|
30 |
|
31 |
// jQuery Core
|
32 |
// Deregister jQuery core
|
33 |
wp_deregister_script( 'jquery-core' );
|
34 |
// Reregister jQuery core
|
35 |
-
wp_register_script( 'jquery-core', plugins_url( '/js/jquery-3.5.
|
36 |
|
37 |
// jQuery Migrate
|
38 |
// Deregister jQuery Migrate
|
@@ -141,6 +142,9 @@ function jqu_render_plugin_settings_page() {
|
|
141 |
<label for="jquery-cdn">CDN: </label>
|
142 |
<input type="checkbox" id="jquery-cdn" name="jquery-cdn">
|
143 |
|
|
|
|
|
|
|
144 |
<input name="submit" class="button button-primary" type="submit" value="<?php esc_attr_e( 'Save' ); ?>" disabled />
|
145 |
</form>
|
146 |
<?php
|
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.5.1.1
|
7 |
* Author: Ramoonus
|
8 |
* Author URI: http://www.ramoonus.nl/
|
9 |
* License: GPL3
|
27 |
$min = true;
|
28 |
$cdn = false; // google, microsoft, cdnjs, jsdelivr
|
29 |
$migrate = true;
|
30 |
+
$enqueue_admin = false;
|
31 |
|
32 |
// jQuery Core
|
33 |
// Deregister jQuery core
|
34 |
wp_deregister_script( 'jquery-core' );
|
35 |
// Reregister jQuery core
|
36 |
+
wp_register_script( 'jquery-core', plugins_url( '/js/jquery-3.5.1.min.js', __FILE__ ), [], $ver_core );
|
37 |
|
38 |
// jQuery Migrate
|
39 |
// Deregister jQuery Migrate
|
142 |
<label for="jquery-cdn">CDN: </label>
|
143 |
<input type="checkbox" id="jquery-cdn" name="jquery-cdn">
|
144 |
|
145 |
+
<label for="jquery-admin">Enqueue in Dashboard: </label>
|
146 |
+
<input type="checkbox" id="jquery-admin" name="jquery-admin">
|
147 |
+
|
148 |
<input name="submit" class="button button-primary" type="submit" value="<?php esc_attr_e( 'Save' ); ?>" disabled />
|
149 |
</form>
|
150 |
<?php
|
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: 5.0
|
6 |
Tested up to: 5.4
|
7 |
-
Stable tag: 3.5.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.5.1 =
|
55 |
* Updated [jQuery to 3.5.1](https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/)
|
56 |
* Updater [jQuery Migrate to 3.3.0](https://github.com/jquery/jquery-migrate/#readme)
|
4 |
Tags: jquery, update, jquery ui, javascript, jq
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.4
|
7 |
+
Stable tag: 3.5.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.5.1.1 =
|
55 |
+
* Bugfix: Fixed a typo
|
56 |
+
|
57 |
= 3.5.1 =
|
58 |
* Updated [jQuery to 3.5.1](https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/)
|
59 |
* Updater [jQuery Migrate to 3.3.0](https://github.com/jquery/jquery-migrate/#readme)
|