Version Description
- Fixed: Potential compatibility issues with some themes in rare cases
Download this release
Release Info
Developer | loftocean |
Plugin | LoftLoader |
Version | 2.3.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.3 to 2.3.4
- assets/css/loftloader-settings.css +1 -1
- assets/css/loftloader.css +1 -1
- assets/scss/loftloader-settings.scss +1 -1
- assets/scss/loftloader.scss +1 -1
- inc/class-loftloader-front.php +5 -2
- languages/loftloader.pot +3 -3
- loftloader.php +1 -1
- readme.txt +4 -1
assets/css/loftloader-settings.css
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
-
* Version: 2.3.
|
10 |
*/
|
11 |
@import url(https://fonts.googleapis.com/css?family=Lato:400,600);
|
12 |
#customize-theme-controls.loftloader-controls-wrapper {
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
+
* Version: 2.3.4
|
10 |
*/
|
11 |
@import url(https://fonts.googleapis.com/css?family=Lato:400,600);
|
12 |
#customize-theme-controls.loftloader-controls-wrapper {
|
assets/css/loftloader.css
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
-
* Version: 2.3.
|
10 |
*/
|
11 |
@-webkit-keyframes spinReturn {
|
12 |
0% {
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
+
* Version: 2.3.4
|
10 |
*/
|
11 |
@-webkit-keyframes spinReturn {
|
12 |
0% {
|
assets/scss/loftloader-settings.scss
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
-
* Version: 2.3.
|
10 |
*/
|
11 |
|
12 |
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
+
* Version: 2.3.4
|
10 |
*/
|
11 |
|
12 |
|
assets/scss/loftloader.scss
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
-
* Version: 2.3.
|
10 |
*/
|
11 |
|
12 |
$primary-color: #248acc;
|
6 |
* Author: Kaylolo Yinxi Chen @Loft.Ocean
|
7 |
* Author URI: http://www.loftocean.com
|
8 |
* Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content.
|
9 |
+
* Version: 2.3.4
|
10 |
*/
|
11 |
|
12 |
$primary-color: #248acc;
|
inc/class-loftloader-front.php
CHANGED
@@ -32,14 +32,17 @@ if ( ! class_exists( 'LoftLoader_Front' ) ) {
|
|
32 |
public function init_cache() {
|
33 |
// Only for front view
|
34 |
if ( ! is_admin() ) {
|
35 |
-
add_action( '
|
36 |
}
|
37 |
}
|
38 |
/**
|
39 |
* Start cache for outputing
|
40 |
*/
|
41 |
public function start_cache() {
|
42 |
-
|
|
|
|
|
|
|
43 |
}
|
44 |
/**
|
45 |
* Will be called when flush cache
|
32 |
public function init_cache() {
|
33 |
// Only for front view
|
34 |
if ( ! is_admin() ) {
|
35 |
+
add_action( 'template_redirect', array( $this, 'start_cache' ), 2 );
|
36 |
}
|
37 |
}
|
38 |
/**
|
39 |
* Start cache for outputing
|
40 |
*/
|
41 |
public function start_cache() {
|
42 |
+
if ( ! wp_doing_ajax() ) {
|
43 |
+
// Start cache the output with callback function
|
44 |
+
ob_start( array( $this, 'modify_html' ) );
|
45 |
+
}
|
46 |
}
|
47 |
/**
|
48 |
* Will be called when flush cache
|
languages/loftloader.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the LoftLoader plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: LoftLoader 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loftloader\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2020-11-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: loftloader\n"
|
@@ -62,7 +62,7 @@ msgstr ""
|
|
62 |
msgid "More info"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: inc/class-loftloader-front.php:
|
66 |
msgid "Close"
|
67 |
msgstr ""
|
68 |
|
2 |
# This file is distributed under the same license as the LoftLoader plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: LoftLoader 2.3.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loftloader\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2020-11-20T00:48:33+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: loftloader\n"
|
62 |
msgid "More info"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: inc/class-loftloader-front.php:220
|
66 |
msgid "Close"
|
67 |
msgstr ""
|
68 |
|
loftloader.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: LoftLoader
|
4 |
Plugin URI: http://www.loftocean.com/
|
5 |
Description: An easy to use plugin to add an animated preloader to your website with fully customisations.
|
6 |
-
Version: 2.3.
|
7 |
Author: Loft.Ocean
|
8 |
Author URI: http://www.loftocean.com/
|
9 |
Text Domain: loftloader
|
3 |
Plugin Name: LoftLoader
|
4 |
Plugin URI: http://www.loftocean.com/
|
5 |
Description: An easy to use plugin to add an animated preloader to your website with fully customisations.
|
6 |
+
Version: 2.3.4
|
7 |
Author: Loft.Ocean
|
8 |
Author URI: http://www.loftocean.com/
|
9 |
Text Domain: loftloader
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: loader, load, preloader, page preloader, prelader spinner, preloader with
|
|
4 |
Donate link:
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -96,6 +96,9 @@ Check some [examples](http://www.loftocean.com/loftloader/example-13/) created b
|
|
96 |
8. Pro version: Load Time, Device Control & Smooth Page Transition
|
97 |
|
98 |
== Changelog ==
|
|
|
|
|
|
|
99 |
= 2.3.3 =
|
100 |
* Improved: Potential compatibility issues in some rare cases
|
101 |
|
4 |
Donate link:
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 2.3.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
96 |
8. Pro version: Load Time, Device Control & Smooth Page Transition
|
97 |
|
98 |
== Changelog ==
|
99 |
+
= 2.3.4 =
|
100 |
+
* Fixed: Potential compatibility issues with some themes in rare cases
|
101 |
+
|
102 |
= 2.3.3 =
|
103 |
* Improved: Potential compatibility issues in some rare cases
|
104 |
|