To Top - Version 1.5.6

Version Description

  • Replaced: div with span (Reported by: jacktester)
Download this release

Release Info

Developer catchthemes
Plugin Icon 128x128 To Top
Version 1.5.6
Comparing to
See all releases

Code changes from version 1.5.5 to 1.5.6

LICENSE.txt CHANGED
File without changes
README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: catchthemes, sakinshrestha, pratikshrestha, maheshmaharjan
3
  Donate link: https://catchthemes.com/wp-plugins/to-top/
4
  Tags: to top, scroll up, arrow, button, icon, link to top, scroll, back to top, scroll to top, scroll top, scroll up, simple scroll to top, simple back to top, smooth scroll
5
  Requires at least: 4.5
6
- Tested up to: 4.9
7
- Stable tag: 1.5.5
8
  License: GNU General Public License, version 3 (GPLv3)
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -57,6 +57,9 @@ You'll then see To Top dashboard from which you can enable or disable the button
57
 
58
  == Changelog ==
59
 
 
 
 
60
  = 1.5.5 =
61
  * Bug Fixed: Translation issue, replace top-up text domain to to-top in to-top-admin-display.php file ( Reported By: Guillaume Blet )
62
 
3
  Donate link: https://catchthemes.com/wp-plugins/to-top/
4
  Tags: to top, scroll up, arrow, button, icon, link to top, scroll, back to top, scroll to top, scroll top, scroll up, simple scroll to top, simple back to top, smooth scroll
5
  Requires at least: 4.5
6
+ Tested up to: 4.9.5
7
+ Stable tag: 1.5.6
8
  License: GNU General Public License, version 3 (GPLv3)
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
 
57
 
58
  == Changelog ==
59
 
60
+ = 1.5.6 =
61
+ * Replaced: div with span (Reported by: jacktester)
62
+
63
  = 1.5.5 =
64
  * Bug Fixed: Translation issue, replace top-up text domain to to-top in to-top-admin-display.php file ( Reported By: Guillaume Blet )
65
 
admin/class-to-top-admin.php CHANGED
File without changes
admin/css/customizer.css CHANGED
File without changes
admin/css/to-top-admin.css CHANGED
File without changes
admin/index.php CHANGED
File without changes
admin/js/to-top-admin.js CHANGED
File without changes
admin/js/to-top-customizer-scripts.js CHANGED
File without changes
admin/partials/customizer/customizer-custom-controls.php CHANGED
File without changes
admin/partials/to-top-admin-display.php CHANGED
File without changes
includes/class-to-top-activator.php CHANGED
File without changes
includes/class-to-top-deactivator.php CHANGED
File without changes
includes/class-to-top-i18n.php CHANGED
File without changes
includes/class-to-top-loader.php CHANGED
File without changes
includes/class-to-top.php CHANGED
@@ -69,7 +69,7 @@ class To_Top {
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'to-top';
72
- $this->version = '1.5.4';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'to-top';
72
+ $this->version = '1.5.6';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
includes/index.php CHANGED
File without changes
index.php CHANGED
File without changes
languages/to-top.pot CHANGED
@@ -5,7 +5,7 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: To Top\n"
7
  "Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
8
- "POT-Creation-Date: 2018-01-28 08:24-0500\n"
9
  "PO-Revision-Date: 2016-12-07 23:04-0500\n"
10
  "Last-Translator: Sakin Shrestha <info@catchthemes.com>\n"
11
  "Language-Team: Catch Themes <info@catchthemes.com>\n"
5
  msgstr ""
6
  "Project-Id-Version: To Top\n"
7
  "Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
8
+ "POT-Creation-Date: 2018-05-04 18:58+0545\n"
9
  "PO-Revision-Date: 2016-12-07 23:04-0500\n"
10
  "Last-Translator: Sakin Shrestha <info@catchthemes.com>\n"
11
  "Language-Team: Catch Themes <info@catchthemes.com>\n"
public/class-to-top-public.php CHANGED
@@ -133,7 +133,7 @@ class To_Top_Public {
133
  }
134
 
135
  if ( 'icon' == $option['style'] ) {
136
- echo '<div id="to_top_scrollup" class="dashicons ' . esc_attr( $option['icon_type'] ) .'"><span class="screen-reader-text">' . esc_html__( 'Scroll Up', 'to-top' ) . '</span></div>' ;
137
  }
138
  else if ( 'genericon-icon' == $option['style'] ) {
139
  if ( 'dashicons-arrow-up' == $option['icon_type'] ) {
@@ -146,7 +146,7 @@ class To_Top_Public {
146
  $class = 'genericon genericon-collapse';
147
  }
148
 
149
- echo '<div id="to_top_scrollup" class="' . esc_attr( $class ) .'"><span class="screen-reader-text">' . esc_html__( 'Scroll Up', 'to-top' ) . '</span></div>' ;
150
  }
151
  else if ( 'font-awesome-icon' == $option['style'] ) {
152
  if ( 'dashicons-arrow-up' == $option['icon_type'] ) {
@@ -159,7 +159,7 @@ class To_Top_Public {
159
  $class = 'fa fa-angle-up';
160
  }
161
 
162
- echo '<div id="to_top_scrollup" class="' . esc_attr( $class ) .'"><span class="screen-reader-text">' . esc_html__( 'Scroll Up', 'to-top' ) . '</span></div>' ;
163
  }
164
  else {
165
  if( '' != $option['image'] ){
@@ -173,7 +173,7 @@ class To_Top_Public {
173
 
174
  $image = implode( '', $image );
175
 
176
- echo '<div id="to_top_scrollup"><img alt="' . esc_attr( $option['image_alt'] ) . '" src="' . esc_url( $image ) . '"/></div>' ;
177
  }
178
  }
179
  }
133
  }
134
 
135
  if ( 'icon' == $option['style'] ) {
136
+ echo '<span id="to_top_scrollup" class="dashicons ' . esc_attr( $option['icon_type'] ) .'"><span class="screen-reader-text">' . esc_html__( 'Scroll Up', 'to-top' ) . '</span></span>' ;
137
  }
138
  else if ( 'genericon-icon' == $option['style'] ) {
139
  if ( 'dashicons-arrow-up' == $option['icon_type'] ) {
146
  $class = 'genericon genericon-collapse';
147
  }
148
 
149
+ echo '<span id="to_top_scrollup" class="' . esc_attr( $class ) .'"><span class="screen-reader-text">' . esc_html__( 'Scroll Up', 'to-top' ) . '</span></span>' ;
150
  }
151
  else if ( 'font-awesome-icon' == $option['style'] ) {
152
  if ( 'dashicons-arrow-up' == $option['icon_type'] ) {
159
  $class = 'fa fa-angle-up';
160
  }
161
 
162
+ echo '<span id="to_top_scrollup" class="' . esc_attr( $class ) .'"><span class="screen-reader-text">' . esc_html__( 'Scroll Up', 'to-top' ) . '</span></span>' ;
163
  }
164
  else {
165
  if( '' != $option['image'] ){
173
 
174
  $image = implode( '', $image );
175
 
176
+ echo '<span id="to_top_scrollup"><img alt="' . esc_attr( $option['image_alt'] ) . '" src="' . esc_url( $image ) . '"/></span>' ;
177
  }
178
  }
179
  }
public/css/font-awesome/css/font-awesome.css CHANGED
File without changes
public/css/font-awesome/css/font-awesome.min.css CHANGED
File without changes
public/css/font-awesome/fonts/FontAwesome.otf CHANGED
File without changes
public/css/font-awesome/fonts/fontawesome-webfont.eot CHANGED
File without changes
public/css/font-awesome/fonts/fontawesome-webfont.svg CHANGED
File without changes
public/css/font-awesome/fonts/fontawesome-webfont.ttf CHANGED
File without changes
public/css/font-awesome/fonts/fontawesome-webfont.woff CHANGED
File without changes
public/css/font-awesome/fonts/fontawesome-webfont.woff2 CHANGED
File without changes
public/css/genericons/Genericons.eot CHANGED
File without changes
public/css/genericons/Genericons.svg CHANGED
File without changes
public/css/genericons/Genericons.ttf CHANGED
File without changes
public/css/genericons/Genericons.woff CHANGED
File without changes
public/css/genericons/genericons.css CHANGED
File without changes
public/css/to-top-public.css CHANGED
File without changes
public/index.php CHANGED
File without changes
public/js/to-top-public.js CHANGED
File without changes
to-top.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: To Top plugin allows the visitor as well as admin to easily scroll back to the top of the page, with fully customizable options and ability to use image.
6
  * Author: Catch Themes
7
  * Author URI: https://catchthemes.com/
8
- * Version: 1.5.5
9
  * License: GNU General Public License, version 3 (GPLv3)
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
11
  * Text Domain: to-top
5
  * Description: To Top plugin allows the visitor as well as admin to easily scroll back to the top of the page, with fully customizable options and ability to use image.
6
  * Author: Catch Themes
7
  * Author URI: https://catchthemes.com/
8
+ * Version: 1.5.6
9
  * License: GNU General Public License, version 3 (GPLv3)
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
11
  * Text Domain: to-top
uninstall.php CHANGED
File without changes