Version Description
- Fixes potential error where only first post in archive will show share buttons
Download this release
Release Info
| Developer | Nick_theGeek |
| Plugin | |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0 to 1.0.1
- lib/front-end.php +2 -2
- plugin.php +1 -1
- readme.txt +9 -3
lib/front-end.php
CHANGED
|
@@ -318,7 +318,7 @@ class Gensis_Simple_Share_Front_End {
|
|
| 318 |
return;
|
| 319 |
}
|
| 320 |
|
| 321 |
-
if( in_array( $location, $this->locations ) ){
|
| 322 |
return '<!-- Genesis Simple Share error: This location has already been used. -->';
|
| 323 |
}
|
| 324 |
|
|
@@ -453,7 +453,7 @@ class Gensis_Simple_Share_Front_End {
|
|
| 453 |
});
|
| 454 |
</script>";
|
| 455 |
|
| 456 |
-
$this->locations[] = $location;
|
| 457 |
|
| 458 |
return $div . $script;
|
| 459 |
|
| 318 |
return;
|
| 319 |
}
|
| 320 |
|
| 321 |
+
if( in_array( $location . '-' . get_the_ID(), $this->locations ) ){
|
| 322 |
return '<!-- Genesis Simple Share error: This location has already been used. -->';
|
| 323 |
}
|
| 324 |
|
| 453 |
});
|
| 454 |
</script>";
|
| 455 |
|
| 456 |
+
$this->locations[] = $location . '-' . get_the_ID();
|
| 457 |
|
| 458 |
return $div . $script;
|
| 459 |
|
plugin.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Genesis Simple Share
|
| 4 |
Plugin URI:
|
| 5 |
Description: A simple sharing plugin using the Share script.
|
| 6 |
-
Version: 1.0
|
| 7 |
Author: copyblogger
|
| 8 |
Author URI: http://www.copyblogger.com
|
| 9 |
Text Domain: genesis-simple-share
|
| 3 |
Plugin Name: Genesis Simple Share
|
| 4 |
Plugin URI:
|
| 5 |
Description: A simple sharing plugin using the Share script.
|
| 6 |
+
Version: 1.0.1
|
| 7 |
Author: copyblogger
|
| 8 |
Author URI: http://www.copyblogger.com
|
| 9 |
Text Domain: genesis-simple-share
|
readme.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
=== Genesis Simple Share ===
|
| 2 |
-
Contributors: nathanrice, studiopress, wpmuguru, nick_thegeek
|
| 3 |
-
Tags: genesis, share, share buttons, facebook, twitter, pinterest, stumbleupon,
|
| 4 |
Requires at least: 3.7
|
| 5 |
Tested up to: 4.1
|
| 6 |
-
Stable tag: 1.0
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -31,10 +31,16 @@ https://github.com/copyblogger/genesis-simple-share/wiki/Usage-Tips
|
|
| 31 |
|
| 32 |
== Changelog ==
|
| 33 |
|
|
|
|
|
|
|
|
|
|
| 34 |
= 1.0 =
|
| 35 |
* Initial WordPress.org release
|
| 36 |
|
| 37 |
== Upgrade Notice ==
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
= 1.0 =
|
| 40 |
Plugin was added to the WordPress.org repo. Users should update to ensure they have the latest code.
|
| 1 |
=== Genesis Simple Share ===
|
| 2 |
+
Contributors: nathanrice, studiopress, wpmuguru, nick_thegeek, bgardner
|
| 3 |
+
Tags: genesis, share, share buttons, facebook, twitter, pinterest, stumbleupon, linkedin, social
|
| 4 |
Requires at least: 3.7
|
| 5 |
Tested up to: 4.1
|
| 6 |
+
Stable tag: 1.0.1
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 31 |
|
| 32 |
== Changelog ==
|
| 33 |
|
| 34 |
+
= 1.0.1 =
|
| 35 |
+
* Fixes potential error where only first post in archive will show share buttons
|
| 36 |
+
|
| 37 |
= 1.0 =
|
| 38 |
* Initial WordPress.org release
|
| 39 |
|
| 40 |
== Upgrade Notice ==
|
| 41 |
|
| 42 |
+
= 1.0.1 =
|
| 43 |
+
* Fixes potential error where only first post in archive will show share buttons
|
| 44 |
+
|
| 45 |
= 1.0 =
|
| 46 |
Plugin was added to the WordPress.org repo. Users should update to ensure they have the latest code.
|
