a3 Lazy Load - Version 1.2.1

Version Description

Maintenance Upgrade. 1 bug fix for dynamic stylesheets loaded over secure https protocol.

Download this release

Release Info

Developer a3rev
Plugin Icon 128x128 a3 Lazy Load
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

a3-lazy-load.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: a3 Lazy Load
4
  Description: Speed up your site and enhance frontend user's visual experience in PC's, Tablets and mobile with a3 Lazy Load.
5
- Version: 1.2.0
6
  Author: a3 Revolution
7
  Author URI: http://www.a3rev.com/
8
  Requires at least: 3.8
@@ -17,7 +17,7 @@ License: GPLv2 or later
17
  */
18
  ?>
19
  <?php
20
- define('A3_LAZY_VERSION', '1.2.0');
21
  define('A3_LAZY_LOAD_FILE_PATH', dirname(__FILE__));
22
  define('A3_LAZY_LOAD_DIR_NAME', basename(A3_LAZY_LOAD_FILE_PATH));
23
  define('A3_LAZY_LOAD_FOLDER', dirname(plugin_basename(__FILE__)));
2
  /*
3
  Plugin Name: a3 Lazy Load
4
  Description: Speed up your site and enhance frontend user's visual experience in PC's, Tablets and mobile with a3 Lazy Load.
5
+ Version: 1.2.1
6
  Author: a3 Revolution
7
  Author URI: http://www.a3rev.com/
8
  Requires at least: 3.8
17
  */
18
  ?>
19
  <?php
20
+ define('A3_LAZY_VERSION', '1.2.1');
21
  define('A3_LAZY_LOAD_FILE_PATH', dirname(__FILE__));
22
  define('A3_LAZY_LOAD_DIR_NAME', basename(A3_LAZY_LOAD_FILE_PATH));
23
  define('A3_LAZY_LOAD_FOLDER', dirname(plugin_basename(__FILE__)));
admin/a3-lazy-load-admin.php CHANGED
@@ -2,7 +2,7 @@
2
  update_option('a3rev_lazy_load_plugin', 'a3_lazy_load');
3
 
4
  function a3_lazy_load_activated(){
5
- update_option('a3_lazy_load_version', '1.2.0');
6
 
7
  // Set Settings Default from Admin Init
8
  global $a3_lazy_load_admin_init;
@@ -51,6 +51,6 @@ function a3_lazy_load_upgrade_plugin() {
51
  update_option('a3_lazy_load_version', '1.1.0');
52
  }
53
 
54
- update_option('a3_lazy_load_version', '1.2.0');
55
  }
56
  ?>
2
  update_option('a3rev_lazy_load_plugin', 'a3_lazy_load');
3
 
4
  function a3_lazy_load_activated(){
5
+ update_option('a3_lazy_load_version', '1.2.1');
6
 
7
  // Set Settings Default from Admin Init
8
  global $a3_lazy_load_admin_init;
51
  update_option('a3_lazy_load_version', '1.1.0');
52
  }
53
 
54
+ update_option('a3_lazy_load_version', '1.2.1');
55
  }
56
  ?>
admin/less/sass.php CHANGED
@@ -23,7 +23,7 @@ class A3_Lazy_Load_Less
23
  {
24
  $_upload_dir = wp_upload_dir();
25
  if ( file_exists( $_upload_dir['basedir'] . '/sass/' . $this->css_file_name . '.min.css' ) )
26
- echo '<link media="screen" type="text/css" href="' . $_upload_dir['baseurl'] . '/sass/' . $this->css_file_name . '.min.css" rel="stylesheet" />' . "\n";
27
  }
28
 
29
  public function plugin_build_sass()
23
  {
24
  $_upload_dir = wp_upload_dir();
25
  if ( file_exists( $_upload_dir['basedir'] . '/sass/' . $this->css_file_name . '.min.css' ) )
26
+ echo '<link media="screen" type="text/css" href="' . str_replace(array('http:','https:'), '', $_upload_dir['baseurl'] ) . '/sass/' . $this->css_file_name . '.min.css" rel="stylesheet" />' . "\n";
27
  }
28
 
29
  public function plugin_build_sass()
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: a3rev, A3 Revolution Software Development team
4
  Tags: a3 lazy load, Lazy Loading , image lazy load, lazyload
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.2.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -144,6 +144,10 @@ Automatic installation is the easiest option as WordPress handles the file trans
144
 
145
  == Changelog ==
146
 
 
 
 
 
147
  = 1.2.0 - 2015/05/18 =
148
  * Feature - Added new extend script to support event when click or tap on tab to load images without having to scroll to initiate load.
149
  * Tweak - Tested and Tweaked for full compatibility with WordPress Version 4.2.2
@@ -191,6 +195,9 @@ Automatic installation is the easiest option as WordPress handles the file trans
191
 
192
  == Upgrade Notice ==
193
 
 
 
 
194
  = 1.2.0 =
195
  Feature Upgrade. Added support for Lazy Load images in Tabbed content without having to scroll, also a file permissions tweak plus full compatibility with WordPress 4.2.2
196
 
4
  Tags: a3 lazy load, Lazy Loading , image lazy load, lazyload
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.2.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
144
 
145
  == Changelog ==
146
 
147
+ = 1.2.1 - 2015/05/26 =
148
+ * Fix - Update url of dynamic stylesheet in uploads folder to the format <code>//domain.com/</code> so it's always is correct when loaded as <code>http</code> or <code>https</code>
149
+ * Credit - Thanks to WordPress member hero12 for bringing the matter [to our attention](https://wordpress.org/support/topic/css-is-not-loaded-properly-on-https?replies=1).
150
+
151
  = 1.2.0 - 2015/05/18 =
152
  * Feature - Added new extend script to support event when click or tap on tab to load images without having to scroll to initiate load.
153
  * Tweak - Tested and Tweaked for full compatibility with WordPress Version 4.2.2
195
 
196
  == Upgrade Notice ==
197
 
198
+ = 1.2.1 =
199
+ Maintenance Upgrade. 1 bug fix for dynamic stylesheets loaded over secure https protocol.
200
+
201
  = 1.2.0 =
202
  Feature Upgrade. Added support for Lazy Load images in Tabbed content without having to scroll, also a file permissions tweak plus full compatibility with WordPress 4.2.2
203