WPFront Scroll Top - Version 1.6.1

Version Description

  • Undefined variable fix.
Download this release

Release Info

Developer syammohanm
Plugin Icon 128x128 WPFront Scroll Top
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6 to 1.6.1

classes/class-wpfront-scroll-top.php CHANGED
@@ -36,7 +36,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
36
  class WPFront_Scroll_Top extends WPFront_Base_ST {
37
 
38
  //Constants
39
- const VERSION = '1.6';
40
  const OPTIONS_GROUP_NAME = 'wpfront-scroll-top-options-group';
41
  const OPTION_NAME = 'wpfront-scroll-top-options';
42
  const PLUGIN_SLUG = 'wpfront-scroll-top';
@@ -144,7 +144,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
144
 
145
  public function script_loader_tag($tag, $handle, $src) {
146
  if($handle === 'wpfront-scroll-top')
147
- return '<script type="text/javascript" src="' . $src . '" async defer></script>' . "\n";
148
 
149
  return $tag;
150
  }
@@ -243,7 +243,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
243
  $ID = $post->ID;
244
  }
245
  if ($this->options->display_pages() == 2) {
246
- if ($ID !== FALSE && $type !== FALSE) {
247
  if ($this->filter_pages_contains($this->options->include_pages(), $ID) === FALSE)
248
  return FALSE;
249
  else
@@ -252,7 +252,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
252
  return FALSE;
253
  }
254
  if ($this->options->display_pages() == 3) {
255
- if ($ID !== FALSE && $type !== FALSE) {
256
  if ($this->filter_pages_contains($this->options->exclude_pages(), $ID) === FALSE)
257
  return TRUE;
258
  else
36
  class WPFront_Scroll_Top extends WPFront_Base_ST {
37
 
38
  //Constants
39
+ const VERSION = '1.6.1';
40
  const OPTIONS_GROUP_NAME = 'wpfront-scroll-top-options-group';
41
  const OPTION_NAME = 'wpfront-scroll-top-options';
42
  const PLUGIN_SLUG = 'wpfront-scroll-top';
144
 
145
  public function script_loader_tag($tag, $handle, $src) {
146
  if($handle === 'wpfront-scroll-top')
147
+ return '<script type="text/javascript" src="' . $src . '" async="async" defer="defer"></script>' . "\n";
148
 
149
  return $tag;
150
  }
243
  $ID = $post->ID;
244
  }
245
  if ($this->options->display_pages() == 2) {
246
+ if ($ID !== FALSE) {
247
  if ($this->filter_pages_contains($this->options->include_pages(), $ID) === FALSE)
248
  return FALSE;
249
  else
252
  return FALSE;
253
  }
254
  if ($this->options->display_pages() == 3) {
255
+ if ($ID !== FALSE) {
256
  if ($this->filter_pages_contains($this->options->exclude_pages(), $ID) === FALSE)
257
  return TRUE;
258
  else
readme.txt CHANGED
@@ -3,8 +3,9 @@ Contributors: syammohanm
3
  Donate link: http://wpfront.com/donate/
4
  Tags: scroll to top, back to top, scroll top, scroll up, wordpress scroll top
5
  Requires at least: 4.1
6
- Tested up to: 4.9
7
- Stable tag: 1.6
 
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -50,6 +51,9 @@ Visit [WPFront Scroll Top FAQ](http://wpfront.com/scroll-top-plugin-faq/) page f
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 1.6 =
54
  * Font Awesome icons support.
55
  * New image icons.
@@ -110,6 +114,9 @@ Visit [WPFront Scroll Top FAQ](http://wpfront.com/scroll-top-plugin-faq/) page f
110
 
111
  == Upgrade Notice ==
112
 
 
 
 
113
  = 1.6 =
114
  * Performance improvements and new features added.
115
 
3
  Donate link: http://wpfront.com/donate/
4
  Tags: scroll to top, back to top, scroll top, scroll up, wordpress scroll top
5
  Requires at least: 4.1
6
+ Tested up to: 4.9.1
7
+ Stable tag: 1.6.1
8
+ Requires PHP: 5.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.6.1 =
55
+ * Undefined variable fix.
56
+
57
  = 1.6 =
58
  * Font Awesome icons support.
59
  * New image icons.
114
 
115
  == Upgrade Notice ==
116
 
117
+ = 1.6.1 =
118
+ * Bug fix.
119
+
120
  = 1.6 =
121
  * Performance improvements and new features added.
122
 
wpfront-scroll-top.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WPFront Scroll Top
4
  * Plugin URI: http://wpfront.com/scroll-top-plugin/
5
  * Description: Allows the visitor to easily scroll back to the top of the page.
6
- * Version: 1.6
7
  * Author: Syam Mohan
8
  * Author URI: http://wpfront.com
9
  * License: GPL v3
3
  * Plugin Name: WPFront Scroll Top
4
  * Plugin URI: http://wpfront.com/scroll-top-plugin/
5
  * Description: Allows the visitor to easily scroll back to the top of the page.
6
+ * Version: 1.6.1
7
  * Author: Syam Mohan
8
  * Author URI: http://wpfront.com
9
  * License: GPL v3