Version Description
- Change pro version payment link.
Download this release
Release Info
Developer | rpetersen29 |
Plugin | Simple Banner |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- readme.txt +8 -2
- simple-banner-pro.js +1 -1
- simple-banner.php +3 -3
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: rpetersen29
|
|
3 |
Donate link: https://www.paypal.me/rpetersenDev
|
4 |
Tags: banner, banners, simple, announcement, announcements, cta, notification, bar, bars, free, hello bar, hellobar, pro
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 5.2.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -45,6 +45,9 @@ Yes.
|
|
45 |
|
46 |
== Changelog ==
|
47 |
|
|
|
|
|
|
|
48 |
= 2.1.1 =
|
49 |
* Add jQuery back for compatibility issues.
|
50 |
|
@@ -113,6 +116,9 @@ Yes.
|
|
113 |
|
114 |
== Upgrade Notice ==
|
115 |
|
|
|
|
|
|
|
116 |
= 2.1.1 =
|
117 |
Added jQuery back for compatibility issues.
|
118 |
|
3 |
Donate link: https://www.paypal.me/rpetersenDev
|
4 |
Tags: banner, banners, simple, announcement, announcements, cta, notification, bar, bars, free, hello bar, hellobar, pro
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 5.2.3
|
7 |
+
Stable tag: 2.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
45 |
|
46 |
== Changelog ==
|
47 |
|
48 |
+
= 2.1.2 =
|
49 |
+
* Change pro version payment link.
|
50 |
+
|
51 |
= 2.1.1 =
|
52 |
* Add jQuery back for compatibility issues.
|
53 |
|
116 |
|
117 |
== Upgrade Notice ==
|
118 |
|
119 |
+
= 2.1.2 =
|
120 |
+
Changed pro version payment link.
|
121 |
+
|
122 |
= 2.1.1 =
|
123 |
Added jQuery back for compatibility issues.
|
124 |
|
simple-banner-pro.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
// v2.1.
|
2 |
if (!window.location.hostname.includes("localhost")) {
|
3 |
var xhr = new XMLHttpRequest();
|
4 |
xhr.open("POST", "https://simple-banner.glitch.me/hostname", true);
|
1 |
+
// v2.1.2
|
2 |
if (!window.location.hostname.includes("localhost")) {
|
3 |
var xhr = new XMLHttpRequest();
|
4 |
xhr.open("POST", "https://simple-banner.glitch.me/hostname", true);
|
simple-banner.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: Simple Banner
|
4 |
* Plugin URI: https://github.com/rpetersen29/simple-banner
|
5 |
* Description: Display a simple banner at the top of your website.
|
6 |
-
* Version: 2.1.
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
-
* @version 2.1.
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
|
@@ -186,7 +186,7 @@ function simple_banner_settings_page() {
|
|
186 |
<h2>Pro Features
|
187 |
<?php
|
188 |
if (!get_option('pro_version_enabled')) {
|
189 |
-
echo '<a class="button-primary" href="https://
|
190 |
}
|
191 |
?>
|
192 |
</h2>
|
3 |
* Plugin Name: Simple Banner
|
4 |
* Plugin URI: https://github.com/rpetersen29/simple-banner
|
5 |
* Description: Display a simple banner at the top of your website.
|
6 |
+
* Version: 2.1.2
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
+
* @version 2.1.2
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
|
186 |
<h2>Pro Features
|
187 |
<?php
|
188 |
if (!get_option('pro_version_enabled')) {
|
189 |
+
echo '<a class="button-primary" href="https://paypal.me/rpetersenDev/3.99?locale.x=en_US" target="_blank">Purchase Pro Version</a>';
|
190 |
}
|
191 |
?>
|
192 |
</h2>
|