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

Commit

Permalink
Merge pull request #53 from shinsenter/develop
Browse files Browse the repository at this point in the history
2.4.0
  • Loading branch information
shinsenter authored Apr 17, 2021
2 parents f5fc921 + 7772086 commit a3fdebd
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 33 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/)

Expand All @@ -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.

Expand Down Expand Up @@ -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+

Expand All @@ -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
Expand Down
27 changes: 13 additions & 14 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ==

Expand Down Expand Up @@ -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+

Expand All @@ -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
Expand Down Expand Up @@ -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)


---
Expand All @@ -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 ==
Expand Down Expand Up @@ -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)

Expand All @@ -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.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0
2.4.0
4 changes: 2 additions & 2 deletions admin/partials/defer-wordpress-admin-display.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,13 +512,13 @@
<div class="postbox">
<h2>A faster website! (aka defer.js)</h2>
<div class="inside">
<p>💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use.</p>
<p>🥇 Latest website optimization technologies by experienced web experts. 💯 SEO friendly. 🔰 Very easy to use.</p>
<p><a href="<?php echo DEFER_WP_RATING; ?>" target="rating">Rate 5 stars (⭐️⭐️⭐️⭐️⭐️)</a> if you guys like it.</p>
<p>View more: <a href='<?php echo DEFER_WP_PLUGIN_URL; ?>' target='_blank' class='url'>A faster website! (aka defer.js)</a>.</p>
<hr />

<h3>Powered by <a href='<?php echo DEFER_WP_HOMEPAGE; ?>' target='_blank' class='url'>@shinsenter/defer.js</a></h3>
<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>
<p><a href="<?php echo DEFER_WP_RATING; ?>" target="rating">Rate 5 stars (⭐️⭐️⭐️⭐️⭐️)</a> if you guys like it.</p>
<p>
<img src='https://img.shields.io/github/license/shinsenter/defer.js.svg' alt='GitHub' referrerPolicy='no-referrer' />
<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>
Expand Down
2 changes: 1 addition & 1 deletion admin/partials/update-note.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="message" class="notice notice-info fade">
<p>
<strong>💡 Tip for defer.js:</strong>
View <a href="<?php echo DEFER_WP_SETTINGS; ?>">plugin settings</a> here. <br/>
💯 Feel free to leave all options as defaults. The plugin will take care of your website.
View <a href="<?php echo DEFER_WP_SETTINGS; ?>">plugin settings</a> here. <br/>
</p>
</div>
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions defer-wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand All @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit a3fdebd

Please sign in to comment.