LoftLoader - Version 2.1.9

Version Description

  • Fixed: Compatibility issue with the pro version of Loftloader when both plugins are activated
Download this release

Release Info

Developer loftocean
Plugin Icon 128x128 LoftLoader
Version 2.1.9
Comparing to
See all releases

Code changes from version 2.1.8 to 2.1.9

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.1.8
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.1.9
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.1.8
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.1.9
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.1.8
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.1.9
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.1.8
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.1.9
10
  */
11
 
12
  $primary-color: #248acc;
inc/class-loftloader-upgrade.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ( ! class_exists( 'LoftLoader_Upgrade' ) ) {
3
  class LoftLoader_Upgrade {
4
- private $version ='2.1.8';
5
  function __construct(){
6
  $old_version = get_option('loftloader_lite_version', '1.0');
7
  if(version_compare($old_version, $this->version, '<')){
1
  <?php
2
  if ( ! class_exists( 'LoftLoader_Upgrade' ) ) {
3
  class LoftLoader_Upgrade {
4
+ private $version ='2.1.9';
5
  function __construct(){
6
  $old_version = get_option('loftloader_lite_version', '1.0');
7
  if(version_compare($old_version, $this->version, '<')){
languages/loftloader.pot CHANGED
@@ -1,18 +1,16 @@
1
  # Copyright (C) 2019 LoftLoader
2
  # This file is distributed under the same license as the LoftLoader package.
3
- #, fuzzy
4
  msgid ""
5
  msgstr ""
6
- "Project-Id-Version: LoftLoader 2.1.8\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/loftloader\n"
8
- "POT-Creation-Date: 2019-06-30 10:55+0800\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: Suihai <cain@loftocean.com>\n"
14
  "Language-Team: Loft Ocean <cain@loftocean.com>\n"
15
- "X-Generator: Poedit 2.2.3\n"
16
 
17
  #: inc/any-page/class-loftloader-any-page.php:24
18
  msgid "LoftLoader Any Page Shortcode"
@@ -197,22 +195,22 @@ msgstr ""
197
  #: loftloader.php:74
198
  msgid "Settings"
199
  msgstr ""
200
-
201
  #. Plugin Name of the plugin/theme
202
  msgid "LoftLoader"
203
  msgstr ""
204
 
205
  #. Plugin URI of the plugin/theme
206
- #. Author URI of the plugin/theme
207
  msgid "http://www.loftocean.com/"
208
  msgstr ""
209
 
210
  #. Description of the plugin/theme
211
- msgid ""
212
- "An easy to use plugin to add an animated preloader to your website with "
213
- "fully customisations."
214
  msgstr ""
215
 
216
  #. Author of the plugin/theme
217
  msgid "Loft Ocean"
218
  msgstr ""
 
 
 
 
1
  # Copyright (C) 2019 LoftLoader
2
  # This file is distributed under the same license as the LoftLoader package.
 
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: LoftLoader 2.1.9\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/loftloader\n"
7
+ "POT-Creation-Date: 2019-08-05 01:05:50+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: Suihai <cain@loftocean.com>\n"
13
  "Language-Team: Loft Ocean <cain@loftocean.com>\n"
 
14
 
15
  #: inc/any-page/class-loftloader-any-page.php:24
16
  msgid "LoftLoader Any Page Shortcode"
195
  #: loftloader.php:74
196
  msgid "Settings"
197
  msgstr ""
 
198
  #. Plugin Name of the plugin/theme
199
  msgid "LoftLoader"
200
  msgstr ""
201
 
202
  #. Plugin URI of the plugin/theme
 
203
  msgid "http://www.loftocean.com/"
204
  msgstr ""
205
 
206
  #. Description of the plugin/theme
207
+ msgid "An easy to use plugin to add an animated preloader to your website with fully customisations."
 
 
208
  msgstr ""
209
 
210
  #. Author of the plugin/theme
211
  msgid "Loft Ocean"
212
  msgstr ""
213
+
214
+ #. Author URI of the plugin/theme
215
+ msgid "http://www.loftocean.com/"
216
+ msgstr ""
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.1.8
7
  Author: Loft Ocean
8
  Author URI: http://www.loftocean.com/
9
  Text Domain: loftloader
@@ -101,23 +101,25 @@ if ( ! class_exists( 'LoftLoader' ) ) {
101
  // Init loftloader lite
102
  add_action( 'after_setup_theme', 'loftloader_init' );
103
  function loftloader_init() {
104
- if ( ! class_exists( 'LoftLoaderPro' ) ) {
105
  new LoftLoader();
106
  }
107
  }
108
 
109
  add_action( 'plugins_loaded', 'loftloader_any_page' );
110
  function loftloader_any_page() {
111
- $enable_any_page = get_option( 'loftloader_enable_any_page', '' );
112
- if ( $enable_any_page === 'on' ) {
113
- require_once LOFTLOADER_ROOT . 'inc/any-page/class-loftloader-any-page.php';
 
 
114
  }
115
  }
116
 
117
  // Remove widget panels
118
  add_filter( 'customize_loaded_components', 'loftloader_remove_widget_panels', 1000 );
119
  function loftloader_remove_widget_panels( $components ) {
120
- if ( ! class_exists( 'LoftLoaderPro' ) && ( isset( $_GET['plugin'] ) && ( $_GET['plugin'] === 'loftloader-lite' ) ) ) {
121
  foreach ( $components as $i => $c ) {
122
  if ( false !== $i ) {
123
  unset( $components[ $i ] );
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.1.9
7
  Author: Loft Ocean
8
  Author URI: http://www.loftocean.com/
9
  Text Domain: loftloader
101
  // Init loftloader lite
102
  add_action( 'after_setup_theme', 'loftloader_init' );
103
  function loftloader_init() {
104
+ if ( ! class_exists( 'LoftLoader_Pro' ) ) {
105
  new LoftLoader();
106
  }
107
  }
108
 
109
  add_action( 'plugins_loaded', 'loftloader_any_page' );
110
  function loftloader_any_page() {
111
+ if ( ! class_exists( 'LoftLoader_Pro' ) ) {
112
+ $enable_any_page = get_option( 'loftloader_enable_any_page', '' );
113
+ if ( $enable_any_page === 'on' ) {
114
+ require_once LOFTLOADER_ROOT . 'inc/any-page/class-loftloader-any-page.php';
115
+ }
116
  }
117
  }
118
 
119
  // Remove widget panels
120
  add_filter( 'customize_loaded_components', 'loftloader_remove_widget_panels', 1000 );
121
  function loftloader_remove_widget_panels( $components ) {
122
+ if ( ! class_exists( 'LoftLoader_Pro' ) && ( isset( $_GET['plugin'] ) && ( $_GET['plugin'] === 'loftloader-lite' ) ) ) {
123
  foreach ( $components as $i => $c ) {
124
  if ( false !== $i ) {
125
  unset( $components[ $i ] );
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.3
6
  Tested up to: 5.2
7
- Stable tag: 2.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -94,6 +94,9 @@ Check some [examples](http://www.loftocean.com/loftloader/example-13/) created b
94
  8. Pro version: Load Time, Device Control & Smooth Page Transition
95
 
96
  == Changelog ==
 
 
 
97
  = 2.1.8 =
98
  * Fixed: Compatibility issue with maintenance/coming soon plugins
99
 
4
  Donate link:
5
  Requires at least: 4.3
6
  Tested up to: 5.2
7
+ Stable tag: 2.1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
94
  8. Pro version: Load Time, Device Control & Smooth Page Transition
95
 
96
  == Changelog ==
97
+ = 2.1.9 =
98
+ * Fixed: Compatibility issue with the pro version of Loftloader when both plugins are activated
99
+
100
  = 2.1.8 =
101
  * Fixed: Compatibility issue with maintenance/coming soon plugins
102