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

Commit a2e8584

Browse files
authored
For 2.9.0 (#67)
1 parent 7acf773 commit a2e8584

File tree

7 files changed

+192
-172
lines changed

7 files changed

+192
-172
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 2
9+
trim_trailing_whitespace = true

README.md

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,38 @@
11
# defer-wordpress
22

3-
🥇 Harness the latest WordPress optimization tech, 💯 SEO-friendly, and 🔰 effortlessly user-friendly!
3+
🚀 Unleash the power of cutting edge WordPress optimization tech. 💯 SEO-Optimized and 🎯 Effortlessly User-Friendly!
44

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

7-
![HitCount](http://hits.dwyl.com/shinsenter/defer-wordpress.svg)
87
![GitHub](https://img.shields.io/github/license/shinsenter/defer-wordpress.svg)
9-
10-
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/shinsenter/defer-wordpress.svg)
118
[![Post an issue](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://code.shin.company/defer-wordpress/issues)
129
![GitHub issues](https://img.shields.io/github/issues-raw/shinsenter/defer-wordpress.svg)
1310
![GitHub Release Date](https://img.shields.io/github/release-date/shinsenter/defer-wordpress.svg)
1411

15-
⚡️ Experience the speed of a native, lightning-fast lazy loader. ✅ Backward compatibility for legacy browsers (IE9+). 💯 SEO-friendly. 🧩 Lazy-load everything.
16-
17-
This plugin empowers you to optimize various elements, including image tags, videos, audio, iframes, stylesheets, and JavaScript.
12+
⚡️ Experience lightning-fast load times with our native, blazingly quick lazy loader. ✅ Backward compatible with legacy browsers (IE9+). 💯 SEO-optimized. 🧩 Lazy-load everything.
1813

19-
Leveraging tips endorsed by seasoned web experts and harnessing the latest web technologies for resource lazy-loading, this plugin ensures your website operates at peak efficiency.
14+
This plugin empowers you to optimize a wide range of elements, including images, videos, audio, iframes, stylesheets, and JavaScript, for a seamless user experience.
2015

21-
If you find this plugin valuable, please consider leaving a [5-star review (⭐️⭐️⭐️⭐️⭐️)](https://wordpress.org/support/plugin/shins-pageload-magic/reviews/?filter=5#new-post).
16+
Leveraging tips from seasoned web experts and harnessing the latest web technologies for resource lazy-loading, this plugin ensures your website operates at peak efficiency, providing your visitors with a lightning-fast browsing experience.
2217

18+
If you find this plugin valuable, please consider leaving a [5-star review (⭐️⭐️⭐️⭐️⭐️)](https://wordpress.org/support/plugin/shins-pageload-magic/reviews/?filter=5#new-post) to support my efforts.
2319

24-
## Good points
20+
## What People Love
2521

26-
- ⚡️ Native API, blazing fast
27-
- 👍 Legacy browsers support (IE9+)
28-
- 🥇 SEO friendly
29-
-Very easy to use
30-
- 💯 No dependencies, no jQuery
31-
- 🤝 Works well with your favorite frameworks
32-
- 🧩 Uses [IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) for optimized CPU usage
33-
- 🏞 Supports for responsive images, both `srcset` and `sizes` attributes
22+
- ⚡️ Native API, blazingly fast performance
23+
- 👍 Support for legacy browsers (IE9+)
24+
- 🥇 SEO-friendly optimization
25+
-Incredibly easy to use
26+
- 💯 No dependencies, no jQuery required
27+
- 🤝 Works seamlessly with your favorite frameworks
28+
- 🧩 Utilizes [IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) for optimized CPU usage
29+
- 🏞 Supports responsive images with `srcset` and `sizes` attributes
3430

35-
💡 Tip: To archive better result, you should consider disabling all optimization features (Eg. lazy-loading, HTML minification, JS minification, etc.) by other plugins.
31+
💡 Tip: For optimal results, consider disabling optimization features from other plugins (e.g., lazy-loading, HTML minification, JS minification).
3632

37-
We recommend you use it with another page-caching plugin for best performance.
33+
We recommend using this plugin alongside another page-caching solution for best performance.
3834

35+
![Scoring 100/100 in Google PageSpeed Test](https://ps.w.org/shins-pageload-magic/assets/screenshot-1.jpg)
3936

4037
## Browser support
4138

@@ -49,7 +46,6 @@ This plugin also works perfectly on popular browsers, including Internet Explore
4946
- 📱 Android 4+
5047
- 📱 iOS 3.2+
5148

52-
5349
## Powered by defer.js, defer.php
5450

5551
[defer.js](https://code.shin.company/defer.js)
@@ -61,14 +57,12 @@ This plugin also works perfectly on popular browsers, including Internet Explore
6157

6258
## Support my activities
6359

64-
[![Donate via Paypal](https://img.shields.io/badge/Donate-Paypal-blue)](https://www.paypal.me/shinsenter)
65-
[![Become a sponsor](https://img.shields.io/badge/Donate-Patreon-orange)](https://www.patreon.com/appseeds)
66-
[![Become a stargazer](https://img.shields.io/badge/Support-Stargazer-yellow)](https://code.shin.company/defer-wordpress/stargazers)
67-
[![Report an issue](https://img.shields.io/badge/Support-Issues-green)](https://code.shin.company/defer-wordpress/issues/new)
60+
If you find these images useful, consider donating via [PayPal](https://www.paypal.me/shinsenter) or open an issue on [Github](https://github.com/shinsenter/defer-wordpress/issues/new).
61+
62+
Your support helps keep these images maintained and improved for the community.
6863

6964
---
7065

71-
Released under the GNU General Public License v2 license.
72-
https://code.shin.company/defer-wordpress/blob/master/LICENSE
66+
Released under the [GNU General Public License v2 license](https://code.shin.company/defer-wordpress/blob/master/LICENSE).
7367

7468
Copyright (c) 2024 Mai Nhut Tan <[[email protected]](mailto:[email protected])>

README.txt

Lines changed: 71 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,41 @@ Contributors: shinsenter
33
Donate link: https://www.paypal.me/shinsenter
44
Tags: lazyload,lazy-load,defer.js,core-web-vitals,pagespeed,page-speed,html-minify
55
Requires at least: 4.0
6-
Tested up to: 6.3.1
7-
Stable tag: trunk
6+
Tested up to: 6.4
7+
Stable tag: 2.9.0
88
Requires PHP: 5.6
9-
License: GPL-2.0+
9+
License: GPLv2 or later
1010
License URI: https://code.shin.company/defer-wordpress/blob/master/LICENSE
1111

12-
🥇 Harness the latest WordPress optimization tech, 💯 SEO-friendly, and 🔰 effortlessly user-friendly!
12+
🚀 Unleash the power of cutting edge WordPress optimization tech. 💯 SEO-Optimized and 🎯 Effortlessly User-Friendly!
1313

1414
== Description ==
1515

16-
⚡️ Experience the speed of a native, lightning-fast lazy loader. ✅ Backward compatibility for legacy browsers (IE9+). 💯 SEO-friendly. 🧩 Lazy-load everything.
16+
⚡️ Experience lightning-fast load times with our native, blazingly quick lazy loader. ✅ Backward compatible with legacy browsers (IE9+). 💯 SEO-optimized. 🧩 Lazy-load everything.
1717

18-
This plugin empowers you to optimize various elements, including image tags, videos, audio, iframes, stylesheets, and JavaScript.
18+
This plugin empowers you to optimize a wide range of elements, including images, videos, audio, iframes, stylesheets, and JavaScript, for a seamless user experience.
1919

20-
Leveraging tips endorsed by seasoned web experts and harnessing the latest web technologies for resource lazy-loading, this plugin ensures your website operates at peak efficiency.
20+
Leveraging tips from seasoned web experts and harnessing the latest web technologies for resource lazy-loading, this plugin ensures your website operates at peak efficiency, providing your visitors with a lightning-fast browsing experience.
2121

22-
If you find this plugin valuable, please consider leaving a [5-star review (⭐️⭐️⭐️⭐️⭐️)](https://wordpress.org/support/plugin/shins-pageload-magic/reviews/?filter=5#new-post).
22+
If you find this plugin valuable, please consider leaving a [5-star review (⭐️⭐️⭐️⭐️⭐️)](https://wordpress.org/support/plugin/shins-pageload-magic/reviews/?filter=5#new-post) to support my efforts.
2323

24+
### What People Love
2425

25-
### What people loves
26+
- ⚡️ Native API, blazingly fast performance
27+
- 👍 Support for legacy browsers (IE9+)
28+
- 🥇 SEO-friendly optimization
29+
- ✅ Incredibly easy to use
30+
- 💯 No dependencies, no jQuery required
31+
- 🤝 Works seamlessly with your favorite frameworks
32+
- 🧩 Utilizes [IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) for optimized CPU usage
33+
- 🏞 Supports responsive images with `srcset` and `sizes` attributes
2634

27-
- ⚡️ Native API, blazing fast
28-
- 👍 Legacy browsers support (IE9+)
29-
- 🥇 SEO friendly
30-
- ✅ Very easy to use
31-
- 💯 No dependencies, no jQuery
32-
- 🤝 Works well with your favorite frameworks
33-
- 🧩 Uses [IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) for optimized CPU usage
34-
- 🏞 Supports for responsive images, both `srcset` and `sizes` attributes
35+
💡 Tip: For optimal results, consider disabling optimization features from other plugins (e.g., lazy-loading, HTML minification, JS minification).
3536

36-
💡 Tip: To archive better result, you should consider disabling all optimization features (Eg. lazy-loading, HTML minification, JS minification, etc.) by other plugins.
37-
38-
We recommend you use it with another page-caching plugin for best performance.
37+
We recommend using this plugin alongside another page-caching solution for best performance.
3938

4039
![Scoring 100/100 in Google PageSpeed Test](https://raw.githubusercontent.com/shinsenter/defer.js/master/docs/assets/scores.jpg)
4140

42-
4341
### Browser support
4442

4543
This plugin also works perfectly on popular browsers, including Internet Explorer 9 and later.
@@ -107,127 +105,131 @@ Copyright (c) 2024 Mai Nhut Tan <[[email protected]](mailto:[email protected]
107105
== Installation ==
108106

109107
1. Upload the `defer-wordpress` folder to the `./wp-content/plugins/` directory.
110-
2. Activate the plugin via the 'Plugins' menu in WordPress.
111108

112-
While this plugin maintains compatibility with PHP 5.6, we advise running your server on PHP version 7.3 or higher for optimal performance.
109+
2. Activate the plugin through the 'Plugins' menu in WordPress.
110+
111+
While this plugin maintains compatibility with PHP 5.6, we strongly recommend running your server on PHP version 8.1 or higher for optimal performance and speed.
113112

114113

115114
== Frequently Asked Questions ==
116115

117116
= What is defer.js? =
118117

119-
🥇 Defer.js is an exceptionally lightweight, native performance library designed for lazy-loading resources such as JS, CSS, images, and iframes.
118+
🥇 Defer.js is a lightweight, native performance powerhouse designed to lazy-load resources like JS, CSS, images, and iframes with lightning speed.
120119

121-
With Defer.js, you can easily enhance your website's speed.
120+
With Defer.js, you can effortlessly supercharge your website's performance.
122121

123122
= Why should I implement lazy-loading? =
124123

125-
Loading all page contents at once can slow down your website's loading speed. Users dislike staring at a blank white page and tend to leave quickly.
124+
Loading all page content at once can significantly slow down your website's loading speed. Users loathe staring at a blank white page and tend to abandon ship quickly.
126125

127-
Implementing lazy loading can alleviate resource contention, resulting in improved performance.
126+
Implementing lazy-loading can alleviate resource contention, resulting in a silky-smooth browsing experience.
128127

129128
= Why should I use this plugin? =
130129

131130
This plugin offers practical solutions for optimizing on-page resource downloads, based on recommendations from Google Developers available at this website.
132131

133-
You could manually implement these optimizations, but it's time-consuming and requires expertise.
132+
You could manually implement these optimizations, but it's a time-consuming process that requires expertise.
134133

135134
= How does this plugin function? =
136135

137136
This plugin optimizes a wide range of elements, including image tags, videos, audio, iframes, stylesheets, and JavaScript.
138137

139-
It incorporates best practices endorsed by experienced web experts and leverages the latest web technologies for lazy-loading resources.
138+
It incorporates best practices endorsed by seasoned web experts and harnesses the latest web technologies for lazy-loading resources with finesse.
140139

141140
This includes features like creating "data-src" attributes for media and utilizing the loading="lazy" attribute recently introduced by Google Developers.
142141

143142
= High performance and precision =
144143

145-
Additionally, this plugin utilizes the DOM to analyze website structure, delivering precise results and outperforming other plugins that rely on HTML text processing.
144+
Additionally, this plugin utilizes the DOM to analyze your website's structure, delivering precise results and outperforming other plugins that rely on HTML text processing.
146145

147-
Give it a try, and you'll likely be pleasantly surprised by the performance improvements it brings to your website.
146+
Give it a try, and you'll likely be pleasantly surprised by the performance boost it brings to your website.
148147

149148
= What about performance and compatibility? =
150149

151150
We've thoroughly tested this plugin alongside numerous others and haven't encountered any significant conflicts.
152151

153152
For optimal use of this plugin, consider disabling other optimization features (e.g., lazy-loading, HTML minification, JS minification) offered by other plugins.
154153

155-
We also recommend using it in conjunction with a page-caching plugin for the best performance.
156-
154+
We also recommend using it in conjunction with a page-caching plugin for the ultimate performance experience.
157155

158156
== Screenshots ==
159157

160-
1. Achieving a perfect 100/100 score in Google PageSpeed Test!
161-
2. Defer.js empowers you to easily accelerate your website by deferring resource loading.
158+
1. Achieving a perfect 100/100 score in Google PageSpeed Test with ease!
159+
2. Defer.js empowers you to effortlessly accelerate your website by deferring resource loading with finesse.
162160

163161

164162
== Changelog ==
165163

166-
2.6: Fixed bugs related to JSON requests
164+
2.9: Fixed broken feeds and API responses
167165

168-
2.5: Addressed deprecation errors for compatibility with newer PHP versions.
166+
2.8: Updated Defer.js version
169167

170-
2.4: Made minor updates and improvements to the documentation.
168+
2.7: Resolved various bugs
171169

172-
2.3: Resolved various bugs and implemented improvements.
170+
2.6: Fixed bugs related to JSON requests
173171

174-
2.2: Enhanced the codebase for better performance.
172+
2.5: Addressed deprecation errors for compatibility with newer PHP versions
175173

176-
2.1: Fixed bugs (see https://code.shin.company/defer.js/issues/82).
174+
2.4: Made minor updates and improvements to the documentation
177175

178-
2.0: Upgraded to version 2 and renamed the plugin.
176+
2.3: Resolved multiple bugs and implemented enhancements
179177

180-
1.1.15: Fixed bugs present in defer.js versions 1.1.13 and 1.1.14.
178+
2.2: Enhanced the codebase for better performance
181179

182-
1.1.14: Improved overall performance.
180+
2.1: Fixed bugs (see https://code.shin.company/defer.js/issues/82)
183181

184-
1.1.13: Fixed specific issues affecting Firefox.
182+
2.0: Upgraded to version 2 and renamed the plugin
185183

186-
1.1.12: Addressed problems related to Internet Explorer and ensured compatibility with the latest WordPress version.
184+
1.1.15: Fixed bugs present in defer.js versions 1.1.13 and 1.1.14
187185

188-
1.1.11: Fixed a security issue (CVE-2019-18888).
186+
1.1.14: Improved overall performance
189187

190-
1.1.10+5: Removed external resources, bug fixes, and general improvements.
188+
1.1.13: Fixed specific issues affecting Firefox
191189

192-
1.1.10: Resolved various bugs and introduced improvements.
190+
1.1.12: Addressed problems related to Internet Explorer and ensured compatibility with the latest WordPress version
193191

194-
1.1.9: Corrected encoding issues related to the mb_detect_encoding() function.
192+
1.1.11: Fixed a security vulnerability (CVE-2019-18888)
195193

196-
1.1.8: Updated defer.php library to version 1.0.15.
194+
1.1.10+5: Removed external resources, bug fixes, and general improvements
197195

198-
1.1.7: Fixed issues affecting Firefox and made code improvements.
196+
1.1.10: Resolved various bugs and introduced improvements
199197

200-
1.1.6: Updated the library version and enhanced JavaScript execution order.
198+
1.1.9: Corrected encoding issues related to the mb_detect_encoding() function
201199

202-
1.1.5: Hotfix for escaping HTML node values.
200+
1.1.8: Updated defer.php library to version 1.0.15
203201

204-
1.1.4: Implemented numerous improvements.
202+
1.1.7: Fixed issues affecting Firefox and made code improvements
205203

206-
1.1.3: Unified lazy attributes with other plugins.
204+
1.1.6: Updated the library version and enhanced JavaScript execution order
207205

208-
1.1.2: Fixed known issues with gtm.js and improved plugin caching.
206+
1.1.5: Hotfix for escaping HTML node values
209207

210-
1.1.1: Addressed small bugs, including IE polyfill, missing meta tags, and preloading ads.
208+
1.1.4: Implemented numerous improvements
211209

212-
1.1.0: Added a settings page.
210+
1.1.3: Unified lazy attributes with other plugins
213211

214-
1.0.9: Enhanced preloading code.
212+
1.1.2: Fixed known issues with gtm.js and improved plugin caching
215213

216-
1.0.8: Fixed issues related to open web fonts.
214+
1.1.1: Addressed small bugs, including IE polyfill, missing meta tags, and preloading ads
217215

218-
1.0.7: Optimized script loader, polyfill, and scrset.
216+
1.1.0: Added a settings page
219217

220-
1.0.6: Addressed minor bugs, including color placeholders and CSS issues.
218+
1.0.9: Enhanced preloading code
221219

222-
1.0.5: Migrated to defer.js library.
220+
1.0.8: Fixed issues related to open web fonts
223221

224-
1.0.0 to 1.0.4: Initial implementation and development phases.
222+
1.0.7: Optimized script loader, polyfill, and srcset
225223

224+
1.0.6: Addressed minor bugs, including color placeholders and CSS issues
226225

227-
== Upgrade Notice ==
226+
1.0.5: Migrated to defer.js library
228227

229-
No action required, simply install and enjoy!
228+
1.0.0 to 1.0.4: Initial implementation and development phases
229+
230+
== Upgrade Notice ==
230231

231-
If you are currently using an older version of this plugin, we strongly recommend updating now.
232+
No action is required, simply install and enjoy the plugin!
232233

233-
While this plugin maintains compatibility with PHP 5.6, we advise running your server on PHP version 7.3 or higher for optimal performance.
234+
If you are currently using an older version of this plugin, we strongly recommend updating to the latest version.
235+
While this plugin maintains compatibility with PHP 5.6, we advise running your server on PHP version 8.1 or higher for optimal performance.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.0
1+
2.9.0

0 commit comments

Comments
 (0)