Version Description
- Moved function that updates plugin version number in DB from activation hook.
Download this release
Release Info
Developer | lucymtc |
Plugin | Simple Follow Me Social Buttons Widget |
Version | 3.3.3 |
Comparing to | |
See all releases |
Code changes from version 3.3.2 to 3.3.3
- readme.txt +4 -1
- simple-follow-me-social-buttons-widget.php +15 -11
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wptips.me/simple-follow-social-buttons-widget/
|
|
4 |
Tags: social,follow me,buttons,twitter,facebook,pinterest,google plus,linkedin,wordpress,rss,github,youtube,vimeo,instagram,email,sound cloud,itunes,bloglovin,flickr,tumblr,hubpages,deviantart,feedly,slideshare,vine,goodreads,vk,sanscritique,yelp,lastfm,trover,xing,behance,specificfeeds,stackoverflow,blogger,reddit,500px.com,remind,dribbble,picasa,rdio,skype,stumbleupon,foursquare,ello,openclipart,stitcher,canalcocina,kukers,tastespotting,foodgawker,tripadvisor,scoop.it,twitch,tunein,steam,scribd,ravelry,issuu,etsy,anobii,myspace,blog-connect,weibo,fotocommunity,dawanda,aboutme,eyeem,notonthehighstreet,odnoklassniki,font icons,retina ready
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 3.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -120,6 +120,9 @@ Other plugins that you may have interest:
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
123 |
= 3.3.2 =
|
124 |
* Checked compatibility with WordPress 4.3
|
125 |
* Fixed issue with hover color effect on some themes
|
4 |
Tags: social,follow me,buttons,twitter,facebook,pinterest,google plus,linkedin,wordpress,rss,github,youtube,vimeo,instagram,email,sound cloud,itunes,bloglovin,flickr,tumblr,hubpages,deviantart,feedly,slideshare,vine,goodreads,vk,sanscritique,yelp,lastfm,trover,xing,behance,specificfeeds,stackoverflow,blogger,reddit,500px.com,remind,dribbble,picasa,rdio,skype,stumbleupon,foursquare,ello,openclipart,stitcher,canalcocina,kukers,tastespotting,foodgawker,tripadvisor,scoop.it,twitch,tunein,steam,scribd,ravelry,issuu,etsy,anobii,myspace,blog-connect,weibo,fotocommunity,dawanda,aboutme,eyeem,notonthehighstreet,odnoklassniki,font icons,retina ready
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 3.3.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 3.3.3 =
|
124 |
+
* Moved function that updates plugin version number in DB from activation hook.
|
125 |
+
|
126 |
= 3.3.2 =
|
127 |
* Checked compatibility with WordPress 4.3
|
128 |
* Fixed issue with hover color effect on some themes
|
simple-follow-me-social-buttons-widget.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
Plugin Name: Simple Follow Me Social Buttons Widget
|
4 |
Description: Widget to add some of the most popular follow me social buttons. Retina ready.
|
5 |
-
Version: 3.3.
|
6 |
Author: Lucy Tomás
|
7 |
Author URI: https://wordpress.org/support/profile/lucymtc
|
8 |
License: GPLv2
|
@@ -40,6 +40,8 @@ final class SFMSB {
|
|
40 |
private static $instance = null;
|
41 |
|
42 |
public $default_options = array();
|
|
|
|
|
43 |
|
44 |
/**
|
45 |
* Instance
|
@@ -58,6 +60,7 @@ final class SFMSB {
|
|
58 |
self::$instance->includes();
|
59 |
self::$instance->load_textdomain();
|
60 |
self::$instance->variables();
|
|
|
61 |
}
|
62 |
|
63 |
return self::$instance;
|
@@ -71,9 +74,7 @@ final class SFMSB {
|
|
71 |
|
72 |
private function __construct () {
|
73 |
|
74 |
-
|
75 |
-
|
76 |
-
$this->default_options = array();
|
77 |
|
78 |
add_action( 'widgets_init', array('Sfmsb_Widget', 'register_widgets') );
|
79 |
|
@@ -102,22 +103,25 @@ final class SFMSB {
|
|
102 |
}
|
103 |
|
104 |
/**
|
105 |
-
*
|
106 |
*
|
107 |
-
* @since 3.3.
|
108 |
*/
|
109 |
|
110 |
-
public function
|
111 |
|
112 |
-
$
|
113 |
|
114 |
|
115 |
-
if( $
|
116 |
delete_option('sfmsb_specificfeeds_viewed_notice');
|
117 |
}
|
118 |
|
119 |
-
if( $
|
|
|
120 |
update_option( 'sfmsb_version', SFMSB_PLUGIN_VERSION );
|
|
|
|
|
121 |
}
|
122 |
|
123 |
}
|
@@ -133,7 +137,7 @@ final class SFMSB {
|
|
133 |
if( !defined('SFMSB_PLUGIN_DIR') ) { define('SFMSB_PLUGIN_DIR', plugin_dir_path( __FILE__ )); }
|
134 |
if( !defined('SFMSB_PLUGIN_URL') ) { define('SFMSB_PLUGIN_URL', plugin_dir_url( __FILE__ )); }
|
135 |
if( !defined('SFMSB_PLUGIN_FILE') ) { define('SFMSB_PLUGIN_FILE', __FILE__ ); }
|
136 |
-
if( !defined('SFMSB_PLUGIN_VERSION') ) { define('SFMSB_PLUGIN_VERSION', '3.3.
|
137 |
|
138 |
}
|
139 |
|
2 |
/**
|
3 |
Plugin Name: Simple Follow Me Social Buttons Widget
|
4 |
Description: Widget to add some of the most popular follow me social buttons. Retina ready.
|
5 |
+
Version: 3.3.3
|
6 |
Author: Lucy Tomás
|
7 |
Author URI: https://wordpress.org/support/profile/lucymtc
|
8 |
License: GPLv2
|
40 |
private static $instance = null;
|
41 |
|
42 |
public $default_options = array();
|
43 |
+
public $plugin_vesion = null;
|
44 |
+
|
45 |
|
46 |
/**
|
47 |
* Instance
|
60 |
self::$instance->includes();
|
61 |
self::$instance->load_textdomain();
|
62 |
self::$instance->variables();
|
63 |
+
self::$instance->set_plugin_version();
|
64 |
}
|
65 |
|
66 |
return self::$instance;
|
74 |
|
75 |
private function __construct () {
|
76 |
|
77 |
+
$this->default_options = array();
|
|
|
|
|
78 |
|
79 |
add_action( 'widgets_init', array('Sfmsb_Widget', 'register_widgets') );
|
80 |
|
103 |
}
|
104 |
|
105 |
/**
|
106 |
+
* set_plugin_version
|
107 |
*
|
108 |
+
* @since 3.3.3
|
109 |
*/
|
110 |
|
111 |
+
public function set_plugin_version() {
|
112 |
|
113 |
+
$this->plugin_vesion = get_option( 'sfmsb_version' );
|
114 |
|
115 |
|
116 |
+
if( $this->plugin_vesion == false || $this->plugin_vesion < '3.3.2' ) {
|
117 |
delete_option('sfmsb_specificfeeds_viewed_notice');
|
118 |
}
|
119 |
|
120 |
+
if( $this->plugin_vesion != SFMSB_PLUGIN_VERSION ) {
|
121 |
+
|
122 |
update_option( 'sfmsb_version', SFMSB_PLUGIN_VERSION );
|
123 |
+
$this->plugin_vesion = SFMSB_PLUGIN_VERSION;
|
124 |
+
|
125 |
}
|
126 |
|
127 |
}
|
137 |
if( !defined('SFMSB_PLUGIN_DIR') ) { define('SFMSB_PLUGIN_DIR', plugin_dir_path( __FILE__ )); }
|
138 |
if( !defined('SFMSB_PLUGIN_URL') ) { define('SFMSB_PLUGIN_URL', plugin_dir_url( __FILE__ )); }
|
139 |
if( !defined('SFMSB_PLUGIN_FILE') ) { define('SFMSB_PLUGIN_FILE', __FILE__ ); }
|
140 |
+
if( !defined('SFMSB_PLUGIN_VERSION') ) { define('SFMSB_PLUGIN_VERSION', '3.3.3'); }
|
141 |
|
142 |
}
|
143 |
|