Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 7772086

Browse files
committed
2.4.0
1 parent f5fc921 commit 7772086

File tree

7 files changed

+32
-33
lines changed

7 files changed

+32
-33
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# defer-wordpress
22

3-
⚡️ A native, blazing fast lazy loader. ✅ Legacy browsers support (IE9+). 💯 SEO friendly. 🧩 Lazy-load everything.
3+
🥇 Latest website optimization technologies by experienced web experts. 💯 SEO friendly. 🔰 Very easy to use.
44

55
Download: [https://wordpress.org/plugins/shins-pageload-magic/](https://wordpress.org/plugins/shins-pageload-magic/)
66

@@ -12,6 +12,7 @@ Download: [https://wordpress.org/plugins/shins-pageload-magic/](https://wordpres
1212
![GitHub issues](https://img.shields.io/github/issues-raw/shinsenter/defer-wordpress.svg)
1313
![GitHub Release Date](https://img.shields.io/github/release-date/shinsenter/defer-wordpress.svg)
1414

15+
⚡️ A native, blazing fast lazy loader. ✅ Legacy browsers support (IE9+). 💯 SEO friendly. 🧩 Lazy-load everything.
1516

1617
This plugin helps you to optimize everything like image tags, video, audio, iframes as well as stylesheets, and JavaScript.
1718

@@ -39,13 +40,13 @@ We recommend you use it with another page-caching plugin for best performance.
3940

4041
## Browser support
4142

42-
Available in latest browsers. This library also works perfectly with Internet Explorer 9 and later.
43+
This plugin also works perfectly on popular browsers, including Internet Explorer 9 and later.
4344

44-
- 🖥 IE9+ / Microsoft EDGE *
45+
- 🖥 IE9+ / Microsoft EDGE
4546
- 🖥 Firefox 4+
4647
- 🖥 Safari 3+
47-
- 🖥 Chrome *
48-
- 🖥 Opera *
48+
- 🖥 Chrome
49+
- 🖥 Opera
4950
- 📱 Android 4+
5051
- 📱 iOS 3.2+
5152

@@ -59,8 +60,7 @@ Available in latest browsers. This library also works perfectly with Internet Ex
5960

6061
### Key features
6162

62-
- [x] Simplify library options
63-
- [x] Embed defer.js library
63+
- [x] Embed [defer.js](https://github.com/shinsenter/defer.js) plugin
6464
- [x] Normalize DOM elements
6565
- [x] Fix missing meta tags
6666
- [x] Fix missing media attributes

README.txt

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Requires PHP: 5.6
99
License: GPL-2.0+
1010
License URI: https://code.shin.company/defer-wordpress/blob/master/LICENSE
1111

12-
⚡️ A native, blazing fast lazy loader. ✅ Legacy browsers support (IE9+). 💯 SEO friendly. 🧩 Lazy-load everything.
12+
🥇 Latest website optimization technologies for WordPress by experienced experts. 💯 SEO friendly. 🔰 Very easy to use.
1313

1414
== Description ==
1515

@@ -42,13 +42,13 @@ We recommend you use it with another page-caching plugin for best performance.
4242

4343
### Browser support
4444

45-
Available in latest browsers. This library also works perfectly with Internet Explorer 9 and later.
45+
This plugin also works perfectly on popular browsers, including Internet Explorer 9 and later.
4646

47-
- 🖥 IE9+ / Microsoft EDGE *
47+
- 🖥 IE9+ / Microsoft EDGE
4848
- 🖥 Firefox 4+
4949
- 🖥 Safari 3+
50-
- 🖥 Chrome *
51-
- 🖥 Opera *
50+
- 🖥 Chrome
51+
- 🖥 Opera
5252
- 📱 Android 4+
5353
- 📱 iOS 3.2+
5454

@@ -62,8 +62,7 @@ Available in latest browsers. This library also works perfectly with Internet Ex
6262

6363
#### Key features
6464

65-
- [x] Simplify library options
66-
- [x] Embed defer.js library
65+
- [x] Embed [defer.js](https://github.com/shinsenter/defer.js) plugin
6766
- [x] Normalize DOM elements
6867
- [x] Fix missing meta tags
6968
- [x] Fix missing media attributes
@@ -91,10 +90,10 @@ Available in latest browsers. This library also works perfectly with Internet Ex
9190
Keep up-to-date with new releases:
9291
[https://wordpress.org/plugins/shins-pageload-magic/](https://wordpress.org/plugins/shins-pageload-magic/)
9392

94-
[![Donate via Paypal](https://img.shields.io/badge/Donate-Paypal-blue)](https://www.paypal.me/shinsenter)
95-
[![Become a sponsor](https://img.shields.io/badge/Donate-Patreon-orange)](https://www.patreon.com/appseeds)
96-
[![Become a stargazer](https://img.shields.io/badge/Support-Stargazer-yellow)](https://github.com/shinsenter/defer-wordpress/stargazers)
97-
[![Report an issue](https://img.shields.io/badge/Support-Issues-green)](https://github.com/shinsenter/defer-wordpress/issues/new)
93+
[Donate via Paypal](https://www.paypal.me/shinsenter)
94+
[Become a sponsor](https://www.patreon.com/appseeds)
95+
[Become a stargazer](https://github.com/shinsenter/defer-wordpress/stargazers)
96+
[Report an issue](https://github.com/shinsenter/defer-wordpress/issues/new)
9897

9998

10099
---
@@ -110,7 +109,7 @@ Copyright (c) 2019 Mai Nhut Tan <[shin@shin.company](mailto:shin@shin.company
110109
1. Upload `defer-wordpress` to the `/wp-content/plugins/` directory
111110
2. Activate the plugin through the 'Plugins' menu in WordPress
112111

113-
This library still supports PHP 5.6, but we recommend that your server should be running PHP version 7.3 or greater for better performance.
112+
This plugin still supports PHP 5.6, but we recommend that your server should be running PHP version 7.4 or greater for better performance.
114113

115114

116115
== Frequently Asked Questions ==
@@ -200,7 +199,7 @@ We recommend you use it with another page-caching plugin for best performance.
200199

201200
1.1.3 Unify lazy attributes of another plugins
202201

203-
1.1.2 Fixed some known issues with gtm.js, improve library's caches
202+
1.1.2 Fixed some known issues with gtm.js, improve plugin's caches
204203

205204
1.1.1 Small bug fixes (IE polyfill, missing meta tags, preloading ads)
206205

@@ -225,4 +224,4 @@ Nothing to do, just install and enjoy!
225224

226225
If you are using older version of this plugin, please update now!
227226

228-
This library still supports PHP 5.6, but we recommend that your server should be running PHP version 7.3 or greater for better performance.
227+
This plugin still supports PHP 5.6, but we recommend that your server should be running PHP version 7.3 or greater for better performance.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.4.0

admin/partials/defer-wordpress-admin-display.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,13 +512,13 @@
512512
<div class="postbox">
513513
<h2>A faster website! (aka defer.js)</h2>
514514
<div class="inside">
515-
<p>💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use.</p>
515+
<p>🥇 Latest website optimization technologies by experienced web experts. 💯 SEO friendly. 🔰 Very easy to use.</p>
516+
<p><a href="<?php echo DEFER_WP_RATING; ?>" target="rating">Rate 5 stars (⭐️⭐️⭐️⭐️⭐️)</a> if you guys like it.</p>
516517
<p>View more: <a href='<?php echo DEFER_WP_PLUGIN_URL; ?>' target='_blank' class='url'>A faster website! (aka defer.js)</a>.</p>
517518
<hr />
518519

519520
<h3>Powered by <a href='<?php echo DEFER_WP_HOMEPAGE; ?>' target='_blank' class='url'>@shinsenter/defer.js</a></h3>
520521
<p>🥇 A super small, super efficient library that helps you lazy load almost everything like images, video, audio, iframes as well as stylesheets, and JavaScript.</p>
521-
<p><a href="<?php echo DEFER_WP_RATING; ?>" target="rating">Rate 5 stars (⭐️⭐️⭐️⭐️⭐️)</a> if you guys like it.</p>
522522
<p>
523523
<img src='https://img.shields.io/github/license/shinsenter/defer.js.svg' alt='GitHub' referrerPolicy='no-referrer' />
524524
<a href='https://www.codefactor.io/repository/github/shinsenter/defer.js'><img src='https://www.codefactor.io/repository/github/shinsenter/defer.js/badge' alt='CodeFactor' referrerPolicy='no-referrer' /></a></p>

admin/partials/update-note.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="message" class="notice notice-info fade">
22
<p>
33
<strong>💡 Tip for defer.js:</strong>
4-
View <a href="<?php echo DEFER_WP_SETTINGS; ?>">plugin settings</a> here. <br/>
54
💯 Feel free to leave all options as defaults. The plugin will take care of your website.
5+
View <a href="<?php echo DEFER_WP_SETTINGS; ?>">plugin settings</a> here. <br/>
66
</p>
77
</div>

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

defer-wordpress.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Plugin Name: A faster website! (aka defer.js)
2929
* Plugin URI: https://wordpress.org/plugins/shins-pageload-magic/
3030
* Description: 💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use.
31-
* Version: 2.3.0
31+
* Version: 2.4.0
3232
* Author: Mai Nhut Tan
3333
* Author URI: https://code.shin.company/
3434
* License: GPL-2.0+
@@ -44,7 +44,7 @@
4444
if (!defined('DEFER_WP_PLUGIN_VERSION')) {
4545
define('DEFER_WP_PLUGIN_BASE', plugin_basename(__FILE__));
4646
define('DEFER_WP_PLUGIN_NAME', 'defer-wordpress');
47-
define('DEFER_WP_PLUGIN_VERSION', '2.3.0');
47+
define('DEFER_WP_PLUGIN_VERSION', '2.4.0');
4848
define('DEFER_WP_PLUGIN_PREFIX', DEFER_WP_PLUGIN_NAME . '_');
4949

5050
define('DEFER_WP_PLUGIN_HOOK', 'plugin_action_links_' . DEFER_WP_PLUGIN_BASE);
@@ -58,7 +58,7 @@
5858
$has_deferjs = file_exists(__DIR__ . '/public/lib/defer_plus.min.js');
5959
define('DEFER_WP_SRC_DEFERJS_CDN', $has_deferjs
6060
? __DIR__ . '/public/lib/defer_plus.min.js'
61-
: 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.3.0/dist/defer_plus.min.js');
61+
: 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.4.0/dist/defer_plus.min.js');
6262

6363
$has_polyfill = file_exists(__DIR__ . '/public/lib/polyfill.min.js');
6464
define('DEFER_WP_SRC_POLYFILL_CDN', $has_polyfill

0 commit comments

Comments
 (0)