Version Description
(Released: February 21, 2019) = * Compatibility check up to Version 5.1
Download this release
Release Info
Developer | catchthemes |
Plugin | To Top |
Version | 1.8 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.8
- README.txt +6 -4
- includes/class-to-top.php +5 -1
- languages/to-top.pot +2 -2
- to-top.php +4 -1
README.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
===
|
2 |
-
Contributors: catchplugins, catchthemes, sakinshrestha, pratikshrestha, maheshmaharjan
|
3 |
Donate link: https://catchplugins.com/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.
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License, version 3 (GPLv3)
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
@@ -56,6 +56,8 @@ You'll then see To Top dashboard from which you can enable or disable the button
|
|
56 |
5. Reset Settings
|
57 |
|
58 |
== Changelog ==
|
|
|
|
|
59 |
|
60 |
= 1.7 (Released: December 12, 2018) =
|
61 |
* Added: Catch Themes and Catch Plugins tabs in Add themes and Add plugins page respectively
|
1 |
+
=== To Top ===
|
2 |
+
Contributors: catchplugins, catchthemes, sakinshrestha, pratikshrestha, maheshmaharjan, dreamsapana
|
3 |
Donate link: https://catchplugins.com/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.8
|
6 |
+
Tested up to: 5.1
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License, version 3 (GPLv3)
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
56 |
5. Reset Settings
|
57 |
|
58 |
== Changelog ==
|
59 |
+
= 1.8 (Released: February 21, 2019) =
|
60 |
+
* Compatibility check up to Version 5.1
|
61 |
|
62 |
= 1.7 (Released: December 12, 2018) =
|
63 |
* Added: Catch Themes and Catch Plugins tabs in Add themes and Add plugins page respectively
|
includes/class-to-top.php
CHANGED
@@ -69,7 +69,11 @@ class To_Top {
|
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'to-top';
|
72 |
-
|
|
|
|
|
|
|
|
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'to-top';
|
72 |
+
if ( defined( 'TOTOP_VERSION' ) ) {
|
73 |
+
$this->version = TOTOP_VERSION;
|
74 |
+
} else {
|
75 |
+
$this->version = '1.8';
|
76 |
+
}
|
77 |
|
78 |
$this->load_dependencies();
|
79 |
$this->set_locale();
|
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:
|
9 |
"PO-Revision-Date: 2016-12-07 23:04-0500\n"
|
10 |
"Last-Translator: Sakin Shrestha <info@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
@@ -14,7 +14,7 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit 2.2\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
19 |
"esc_html__;esc_html_e\n"
|
20 |
"X-Poedit-Basepath: .\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: 2019-02-22 01:16-0500\n"
|
9 |
"PO-Revision-Date: 2016-12-07 23:04-0500\n"
|
10 |
"Last-Translator: Sakin Shrestha <info@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 2.2.1\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
19 |
"esc_html__;esc_html_e\n"
|
20 |
"X-Poedit-Basepath: .\n"
|
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 Plugins
|
7 |
* Author URI: https://catchplugins.com/
|
8 |
-
* Version: 1.
|
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
|
@@ -37,6 +37,9 @@ if ( ! defined( 'WPINC' ) ) {
|
|
37 |
die;
|
38 |
}
|
39 |
|
|
|
|
|
|
|
40 |
// The URL of the directory that contains the plugin
|
41 |
if ( !defined( 'TOTOP_URL' ) ) {
|
42 |
define( 'TOTOP_URL', plugin_dir_url( __FILE__ ) );
|
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 Plugins
|
7 |
* Author URI: https://catchplugins.com/
|
8 |
+
* Version: 1.8
|
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
|
37 |
die;
|
38 |
}
|
39 |
|
40 |
+
// Define Version
|
41 |
+
define( 'TOTOP_VERSION', '1.8' );
|
42 |
+
|
43 |
// The URL of the directory that contains the plugin
|
44 |
if ( !defined( 'TOTOP_URL' ) ) {
|
45 |
define( 'TOTOP_URL', plugin_dir_url( __FILE__ ) );
|