From 7772086b9d2bd2e1666c485404e69b9e15e7d906 Mon Sep 17 00:00:00 2001 From: Shin <2082119+shinsenter@users.noreply.github.com> Date: Sat, 17 Apr 2021 10:45:54 +0900 Subject: [PATCH] 2.4.0 --- README.md | 14 +++++----- README.txt | 27 +++++++++---------- VERSION | 2 +- .../defer-wordpress-admin-display.php | 4 +-- admin/partials/update-note.php | 2 +- composer.lock | 10 +++---- defer-wordpress.php | 6 ++--- 7 files changed, 32 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 3fc32a8..03db855 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # defer-wordpress -⚡️ A native, blazing fast lazy loader. ✅ Legacy browsers support (IE9+). 💯 SEO friendly. 🧩 Lazy-load everything. +🥇 Latest website optimization technologies by experienced web experts. 💯 SEO friendly. 🔰 Very easy to use. Download: [https://wordpress.org/plugins/shins-pageload-magic/](https://wordpress.org/plugins/shins-pageload-magic/) @@ -12,6 +12,7 @@ Download: [https://wordpress.org/plugins/shins-pageload-magic/](https://wordpres ![GitHub issues](https://img.shields.io/github/issues-raw/shinsenter/defer-wordpress.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/shinsenter/defer-wordpress.svg) +⚡️ A native, blazing fast lazy loader. ✅ Legacy browsers support (IE9+). 💯 SEO friendly. 🧩 Lazy-load everything. This plugin helps you to optimize everything like image tags, video, audio, iframes as well as stylesheets, and JavaScript. @@ -39,13 +40,13 @@ We recommend you use it with another page-caching plugin for best performance. ## Browser support -Available in latest browsers. This library also works perfectly with Internet Explorer 9 and later. +This plugin also works perfectly on popular browsers, including Internet Explorer 9 and later. -- 🖥 IE9+ / Microsoft EDGE * +- 🖥 IE9+ / Microsoft EDGE - 🖥 Firefox 4+ - 🖥 Safari 3+ -- 🖥 Chrome * -- 🖥 Opera * +- 🖥 Chrome +- 🖥 Opera - 📱 Android 4+ - 📱 iOS 3.2+ @@ -59,8 +60,7 @@ Available in latest browsers. This library also works perfectly with Internet Ex ### Key features -- [x] Simplify library options -- [x] Embed defer.js library +- [x] Embed [defer.js](https://github.com/shinsenter/defer.js) plugin - [x] Normalize DOM elements - [x] Fix missing meta tags - [x] Fix missing media attributes diff --git a/README.txt b/README.txt index 8496d6d..c3f425c 100755 --- a/README.txt +++ b/README.txt @@ -9,7 +9,7 @@ Requires PHP: 5.6 License: GPL-2.0+ License URI: https://code.shin.company/defer-wordpress/blob/master/LICENSE -⚡️ A native, blazing fast lazy loader. ✅ Legacy browsers support (IE9+). 💯 SEO friendly. 🧩 Lazy-load everything. +🥇 Latest website optimization technologies for WordPress by experienced experts. 💯 SEO friendly. 🔰 Very easy to use. == Description == @@ -42,13 +42,13 @@ We recommend you use it with another page-caching plugin for best performance. ### Browser support -Available in latest browsers. This library also works perfectly with Internet Explorer 9 and later. +This plugin also works perfectly on popular browsers, including Internet Explorer 9 and later. -- 🖥 IE9+ / Microsoft EDGE * +- 🖥 IE9+ / Microsoft EDGE - 🖥 Firefox 4+ - 🖥 Safari 3+ -- 🖥 Chrome * -- 🖥 Opera * +- 🖥 Chrome +- 🖥 Opera - 📱 Android 4+ - 📱 iOS 3.2+ @@ -62,8 +62,7 @@ Available in latest browsers. This library also works perfectly with Internet Ex #### Key features -- [x] Simplify library options -- [x] Embed defer.js library +- [x] Embed [defer.js](https://github.com/shinsenter/defer.js) plugin - [x] Normalize DOM elements - [x] Fix missing meta tags - [x] Fix missing media attributes @@ -91,10 +90,10 @@ Available in latest browsers. This library also works perfectly with Internet Ex Keep up-to-date with new releases: [https://wordpress.org/plugins/shins-pageload-magic/](https://wordpress.org/plugins/shins-pageload-magic/) -[![Donate via Paypal](https://img.shields.io/badge/Donate-Paypal-blue)](https://www.paypal.me/shinsenter) -[![Become a sponsor](https://img.shields.io/badge/Donate-Patreon-orange)](https://www.patreon.com/appseeds) -[![Become a stargazer](https://img.shields.io/badge/Support-Stargazer-yellow)](https://github.com/shinsenter/defer-wordpress/stargazers) -[![Report an issue](https://img.shields.io/badge/Support-Issues-green)](https://github.com/shinsenter/defer-wordpress/issues/new) +[Donate via Paypal](https://www.paypal.me/shinsenter) +[Become a sponsor](https://www.patreon.com/appseeds) +[Become a stargazer](https://github.com/shinsenter/defer-wordpress/stargazers) +[Report an issue](https://github.com/shinsenter/defer-wordpress/issues/new) --- @@ -110,7 +109,7 @@ Copyright (c) 2019 Mai Nhut Tan <[shin@shin.company](mailto:shin@shin.company 1. Upload `defer-wordpress` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress -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. +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. == Frequently Asked Questions == @@ -200,7 +199,7 @@ We recommend you use it with another page-caching plugin for best performance. 1.1.3 Unify lazy attributes of another plugins -1.1.2 Fixed some known issues with gtm.js, improve library's caches +1.1.2 Fixed some known issues with gtm.js, improve plugin's caches 1.1.1 Small bug fixes (IE polyfill, missing meta tags, preloading ads) @@ -225,4 +224,4 @@ Nothing to do, just install and enjoy! If you are using older version of this plugin, please update now! -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. +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. diff --git a/VERSION b/VERSION index cc6612c..9183195 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3.0 \ No newline at end of file +2.4.0 \ No newline at end of file diff --git a/admin/partials/defer-wordpress-admin-display.php b/admin/partials/defer-wordpress-admin-display.php index 0115c4c..09bb69d 100644 --- a/admin/partials/defer-wordpress-admin-display.php +++ b/admin/partials/defer-wordpress-admin-display.php @@ -512,13 +512,13 @@

A faster website! (aka defer.js)

-

💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use.

+

🥇 Latest website optimization technologies by experienced web experts. 💯 SEO friendly. 🔰 Very easy to use.

+

Rate 5 stars (⭐️⭐️⭐️⭐️⭐️) if you guys like it.

View more: A faster website! (aka defer.js).


Powered by @shinsenter/defer.js

🥇 A super small, super efficient library that helps you lazy load almost everything like images, video, audio, iframes as well as stylesheets, and JavaScript.

-

Rate 5 stars (⭐️⭐️⭐️⭐️⭐️) if you guys like it.

GitHub CodeFactor

diff --git a/admin/partials/update-note.php b/admin/partials/update-note.php index 74f1874..b83d742 100644 --- a/admin/partials/update-note.php +++ b/admin/partials/update-note.php @@ -1,7 +1,7 @@

💡 Tip for defer.js: - View plugin settings here.
💯 Feel free to leave all options as defaults. The plugin will take care of your website. + View plugin settings here.

\ No newline at end of file diff --git a/composer.lock b/composer.lock index ebf6d8a..7539ee6 100644 --- a/composer.lock +++ b/composer.lock @@ -152,16 +152,16 @@ }, { "name": "shinsenter/defer.php", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/shinsenter/defer.php.git", - "reference": "0eb9830b4161a445110c2f668e376545fecd5f9b" + "reference": "b097d3630e0f5ddf2639b4deabb2ddd2ae2cec7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shinsenter/defer.php/zipball/0eb9830b4161a445110c2f668e376545fecd5f9b", - "reference": "0eb9830b4161a445110c2f668e376545fecd5f9b", + "url": "https://api.github.com/repos/shinsenter/defer.php/zipball/b097d3630e0f5ddf2639b4deabb2ddd2ae2cec7e", + "reference": "b097d3630e0f5ddf2639b4deabb2ddd2ae2cec7e", "shasum": "" }, "require": { @@ -244,7 +244,7 @@ "type": "paypal" } ], - "time": "2021-04-15T02:45:36+00:00" + "time": "2021-04-16T12:31:44+00:00" }, { "name": "symfony/css-selector", diff --git a/defer-wordpress.php b/defer-wordpress.php index 47ebe82..2ded282 100644 --- a/defer-wordpress.php +++ b/defer-wordpress.php @@ -28,7 +28,7 @@ * Plugin Name: A faster website! (aka defer.js) * Plugin URI: https://wordpress.org/plugins/shins-pageload-magic/ * Description: 💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use. - * Version: 2.3.0 + * Version: 2.4.0 * Author: Mai Nhut Tan * Author URI: https://code.shin.company/ * License: GPL-2.0+ @@ -44,7 +44,7 @@ if (!defined('DEFER_WP_PLUGIN_VERSION')) { define('DEFER_WP_PLUGIN_BASE', plugin_basename(__FILE__)); define('DEFER_WP_PLUGIN_NAME', 'defer-wordpress'); - define('DEFER_WP_PLUGIN_VERSION', '2.3.0'); + define('DEFER_WP_PLUGIN_VERSION', '2.4.0'); define('DEFER_WP_PLUGIN_PREFIX', DEFER_WP_PLUGIN_NAME . '_'); define('DEFER_WP_PLUGIN_HOOK', 'plugin_action_links_' . DEFER_WP_PLUGIN_BASE); @@ -58,7 +58,7 @@ $has_deferjs = file_exists(__DIR__ . '/public/lib/defer_plus.min.js'); define('DEFER_WP_SRC_DEFERJS_CDN', $has_deferjs ? __DIR__ . '/public/lib/defer_plus.min.js' - : 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.3.0/dist/defer_plus.min.js'); + : 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.4.0/dist/defer_plus.min.js'); $has_polyfill = file_exists(__DIR__ . '/public/lib/polyfill.min.js'); define('DEFER_WP_SRC_POLYFILL_CDN', $has_polyfill