Version Description
Download this release
Release Info
| Developer | xradar |
| Plugin | |
| Version | 1.6.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.6.3 to 1.6.4
- readme.txt +5 -2
- simple-social-buttons.php +4 -4
- ssb-admin.php +2 -2
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://www.rabinek.pl/
|
|
| 4 |
Tags: facebook, google, twitter, pinterest, plus one, like it, like, share, pin, pin it
|
| 5 |
Requires at least: 2.8
|
| 6 |
Tested up to: 3.6.1
|
| 7 |
-
Stable tag: 1.6.
|
| 8 |
|
| 9 |
Insert and customize social buttons: Facebook Like it, Google plus +1, Twitter share, Pinterest Pin it. Share your content with friends.
|
| 10 |
|
|
@@ -163,4 +163,7 @@ Make sure you have set WPLANG in wp-config.php file. Correct values are "en_US"
|
|
| 163 |
|
| 164 |
= 1.6.3 =
|
| 165 |
* Fixed CSS class names ("buttom" to "button")
|
| 166 |
-
* Fixed facebook Like box cut off
|
|
|
|
|
|
|
|
|
| 4 |
Tags: facebook, google, twitter, pinterest, plus one, like it, like, share, pin, pin it
|
| 5 |
Requires at least: 2.8
|
| 6 |
Tested up to: 3.6.1
|
| 7 |
+
Stable tag: 1.6.4
|
| 8 |
|
| 9 |
Insert and customize social buttons: Facebook Like it, Google plus +1, Twitter share, Pinterest Pin it. Share your content with friends.
|
| 10 |
|
| 163 |
|
| 164 |
= 1.6.3 =
|
| 165 |
* Fixed CSS class names ("buttom" to "button")
|
| 166 |
+
* Fixed facebook Like box cut off
|
| 167 |
+
|
| 168 |
+
= 1.6.4 =
|
| 169 |
+
* Used "Roles and Capabilities" in admin access
|
simple-social-buttons.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Plugin URI: http://www.rabinek.pl/simple-social-buttons-wordpress/
|
| 5 |
Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
|
| 6 |
Author: Paweł Rabinek
|
| 7 |
-
Version: 1.6.
|
| 8 |
Author URI: http://www.rabinek.pl/
|
| 9 |
*/
|
| 10 |
|
|
@@ -35,7 +35,7 @@
|
|
| 35 |
|
| 36 |
class SimpleSocialButtonsPR {
|
| 37 |
var $pluginName = 'Simple Social Buttons';
|
| 38 |
-
var $pluginVersion = '1.6.
|
| 39 |
var $pluginPrefix = 'ssb_pr_';
|
| 40 |
var $hideCustomMetaKey = '_ssb_hide';
|
| 41 |
|
|
@@ -449,8 +449,8 @@ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
|
|
| 449 |
}
|
| 450 |
|
| 451 |
public function admin_actions() {
|
| 452 |
-
if (current_user_can('
|
| 453 |
-
add_options_page('Simple Social Buttons ', 'Simple Social Buttons ',
|
| 454 |
}
|
| 455 |
|
| 456 |
public function admin_page() {
|
| 4 |
Plugin URI: http://www.rabinek.pl/simple-social-buttons-wordpress/
|
| 5 |
Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
|
| 6 |
Author: Paweł Rabinek
|
| 7 |
+
Version: 1.6.4
|
| 8 |
Author URI: http://www.rabinek.pl/
|
| 9 |
*/
|
| 10 |
|
| 35 |
|
| 36 |
class SimpleSocialButtonsPR {
|
| 37 |
var $pluginName = 'Simple Social Buttons';
|
| 38 |
+
var $pluginVersion = '1.6.4';
|
| 39 |
var $pluginPrefix = 'ssb_pr_';
|
| 40 |
var $hideCustomMetaKey = '_ssb_hide';
|
| 41 |
|
| 449 |
}
|
| 450 |
|
| 451 |
public function admin_actions() {
|
| 452 |
+
if (current_user_can('install_plugins'))
|
| 453 |
+
add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', "install_plugins", 'simple-social-buttons', array(&$this, 'admin_page') );
|
| 454 |
}
|
| 455 |
|
| 456 |
public function admin_page() {
|
ssb-admin.php
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
|
| 15 |
<?php
|
| 16 |
|
| 17 |
-
if(strtolower(
|
| 18 |
|
| 19 |
/**
|
| 20 |
* Compile settings array
|
|
@@ -131,7 +131,7 @@ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
|
|
| 131 |
<label for="ssb_pinterest"><?php _e('Pinterest - Pin It', 'simplesocialbuttons'); ?></label> <?php echo _e('(Will be visible only on post with thumbnail)');?></p>
|
| 132 |
<!-- /pinterest -->
|
| 133 |
|
| 134 |
-
<p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
|
| 135 |
</div>
|
| 136 |
</div>
|
| 137 |
|
| 14 |
|
| 15 |
<?php
|
| 16 |
|
| 17 |
+
if(strtolower(@$_POST['hiddenconfirm']) == 'y') {
|
| 18 |
|
| 19 |
/**
|
| 20 |
* Compile settings array
|
| 131 |
<label for="ssb_pinterest"><?php _e('Pinterest - Pin It', 'simplesocialbuttons'); ?></label> <?php echo _e('(Will be visible only on post with thumbnail)');?></p>
|
| 132 |
<!-- /pinterest -->
|
| 133 |
|
| 134 |
+
<p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if(!empty($ssb_override_css)) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
|
| 135 |
</div>
|
| 136 |
</div>
|
| 137 |
|
