Social Login - Version 1.6.1

Version Description

  • Provider unselect bug fixed
  • Sanitize user strict added
  • Custom namespace for add_settings_link

=

Download this release

Release Info

Developer ClaudeSchlesser
Plugin Icon 128x128 Social Login
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6 to 1.6.1

includes/settings.php CHANGED
@@ -46,7 +46,7 @@ $oa_social_login_providers = array (
46
  'vkontakte' => array (
47
  'name' => 'VKontakte (Вконтакте)',
48
  'default_enabled' => false,
49
- 'note' => 'To enable cyrillic characters, you might need <a target="_blank" href="http://wordpress.org/extend/plugins/wordpress-special-characters-in-usernames/">this plugin</a>'
50
  )
51
  );
52
 
46
  'vkontakte' => array (
47
  'name' => 'VKontakte (Вконтакте)',
48
  'default_enabled' => false,
49
+ 'note' => 'To enable cyrillic usernames, you might need <a target="_blank" href="http://wordpress.org/extend/plugins/wordpress-special-characters-in-usernames/">this plugin</a>'
50
  )
51
  );
52
 
includes/toolbox.php CHANGED
@@ -138,6 +138,9 @@ function oa_social_login_callback ()
138
  $user_login = $identity->name->formatted;
139
  }
140
 
 
 
 
141
  // Get user by token
142
  $user_id = oa_social_login_get_user_by_token ($user_token);
143
 
138
  $user_login = $identity->name->formatted;
139
  }
140
 
141
+ //Sanitize Login
142
+ $user_login = sanitize_user ($user_login, true);
143
+
144
  // Get user by token
145
  $user_id = oa_social_login_get_user_by_token ($user_token);
146
 
oa-social-login.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Social Login
4
  Plugin URI: http://www.oneall.com/
5
  Description: Allow your visitors to <strong>comment, login and register with 20+ social networks</strong> like Twitter, Facebook, LinkedIn, Hyves, Вконтакте, Google or Yahoo.
6
- Version: 1.6
7
  Author: Claude Schlesser
8
  Author URI: http://www.oneall.com/
9
  License: GPL2
@@ -18,7 +18,6 @@ define ('OA_SOCIAL_LOGIN_PLUGIN_URL', plugins_url () . '/' . basename (dirname (
18
  */
19
  function oa_social_login_activate ()
20
  {
21
- //Wordpress 3.0 or newer required
22
  if (!function_exists ('register_post_status'))
23
  {
24
  deactivate_plugins (basename (dirname (__FILE__)) . '/' . basename (__FILE__));
@@ -39,7 +38,7 @@ register_activation_hook (__FILE__, 'oa_social_login_activate');
39
  /**
40
  * Add Settings Link
41
  **/
42
- function add_settings_link ($links, $file)
43
  {
44
  static $oa_social_login_plugin = null;
45
 
@@ -55,7 +54,7 @@ function add_settings_link ($links, $file)
55
  }
56
  return $links;
57
  }
58
- add_filter ('plugin_action_links', 'add_settings_link', 10, 2);
59
 
60
 
61
  /**
@@ -67,6 +66,7 @@ if (!function_exists ('email_exists'))
67
  require_once(ABSPATH . WPINC . '/registration.php');
68
  }
69
 
 
70
  /**
71
  * Include required files
72
  */
3
  Plugin Name: Social Login
4
  Plugin URI: http://www.oneall.com/
5
  Description: Allow your visitors to <strong>comment, login and register with 20+ social networks</strong> like Twitter, Facebook, LinkedIn, Hyves, Вконтакте, Google or Yahoo.
6
+ Version: 1.6.1
7
  Author: Claude Schlesser
8
  Author URI: http://www.oneall.com/
9
  License: GPL2
18
  */
19
  function oa_social_login_activate ()
20
  {
 
21
  if (!function_exists ('register_post_status'))
22
  {
23
  deactivate_plugins (basename (dirname (__FILE__)) . '/' . basename (__FILE__));
38
  /**
39
  * Add Settings Link
40
  **/
41
+ function oa_social_login_add_settings_link ($links, $file)
42
  {
43
  static $oa_social_login_plugin = null;
44
 
54
  }
55
  return $links;
56
  }
57
+ add_filter ('plugin_action_links', 'oa_social_login_add_settings_link', 10, 2);
58
 
59
 
60
  /**
66
  require_once(ABSPATH . WPINC . '/registration.php');
67
  }
68
 
69
+
70
  /**
71
  * Include required files
72
  */
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ClaudeSchlesser
3
  Tags: social login, social connect, facebook login, linkedin, livejournal, google, yahoo, twitter login, openid, paypal, vkontakte, hyves, widget, plugin, social network login, comments
4
  Requires at least: 3.0
5
  Tested up to: 3.3
6
- Stable tag: 1.6
7
 
8
  Allow your visitors to comment and login with social networks like Twitter, Facebook, Paypal, LinkedIn, LiveJournal, OpenID, VKontakte, Google, Yahoo
9
 
@@ -84,12 +84,12 @@ The plugins does not rely on mod_rewrite and does not need any additional rules.
84
  It should work out of the box.
85
 
86
 
87
- = Where can I report bugs, leave my feedbak and get support? =
88
 
89
- Our team answers your questions at:
90
  http://www.oneall.com/company/contact-us/
91
 
92
- The plugin documentation is available at:
93
  http://docs.oneall.com/plugins/guide/social-login-wordpress/
94
 
95
  == Screenshots ==
@@ -140,4 +140,63 @@ http://docs.oneall.com/plugins/guide/social-login-wordpress/
140
  * PayPal added
141
  * Settings link added
142
  * API Communication Check added
143
- * Cyrillic character support
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Tags: social login, social connect, facebook login, linkedin, livejournal, google, yahoo, twitter login, openid, paypal, vkontakte, hyves, widget, plugin, social network login, comments
4
  Requires at least: 3.0
5
  Tested up to: 3.3
6
+ Stable tag: 1.6.1
7
 
8
  Allow your visitors to comment and login with social networks like Twitter, Facebook, Paypal, LinkedIn, LiveJournal, OpenID, VKontakte, Google, Yahoo
9
 
84
  It should work out of the box.
85
 
86
 
87
+ = Where can I report bugs, leave my feedback and get support? =
88
 
89
+ Our team answers your questions at:<br />
90
  http://www.oneall.com/company/contact-us/
91
 
92
+ The plugin documentation is available at:<br />
93
  http://docs.oneall.com/plugins/guide/social-login-wordpress/
94
 
95
  == Screenshots ==
140
  * PayPal added
141
  * Settings link added
142
  * API Communication Check added
143
+ * Cyrillic character support
144
+
145
+ = 1.6.1 =
146
+ * Provider unselect bug fixed
147
+ * Sanitize user strict added
148
+ * Custom namespace for add_settings_link
149
+
150
+ == Testimonials ==
151
+
152
+ <strong>Used by thousands of users around the world!</strong>
153
+
154
+ <em>This service is simply remarkable, I've tried integrating logins before and it has never been this easy!</em>
155
+ <strong>Andrew C.</strong>
156
+
157
+ <em>I found it extremely straightforward. I just figured it out easily and make my website capable of connecting
158
+ to many social networks by your plugin.</em>
159
+ <strong>Deha K.</strong>
160
+
161
+ <em>Just wanted to let you know how happy i am that i stumbled onto your service. This was the 6 Facebook/Twitter integration
162
+ i tried and was starting to loose hope that i could actually find one that worked for me.</em>
163
+ <strong>Kyle L.</strong>
164
+
165
+ <em>I would like to thank YOU! Seriously, the WordPress plugin has been a huge life saver for me.</em>
166
+ <strong>Piero B.</strong>
167
+
168
+ <em>Thank you for the wonderful plugin</em>
169
+ <strong>Martin P.</strong>
170
+
171
+ <em>The service is excellent for what i need, simple to set up. All situations about seting up are well explained, so
172
+ there are no difficulties</em>
173
+ <strong>Facundo S.</strong>
174
+
175
+ <em>I really like the plugin, the capabilities you provide for management and your prompt reply for support.</em>
176
+ <strong>Tom B.</strong>
177
+
178
+ <em>It was extremely easy to set up and use. The documentation to set up the FB and twitter API
179
+ was easy to follow and implement. I was struggling with a couple of other plugins till I stumbled on this one.</em>
180
+ <strong>Deepa V.</strong>
181
+
182
+ <em>Works like a charm!</em>
183
+ <strong>Fredrik L.</strong>
184
+
185
+ <em>Not sure how you can improve it's a Damn! Good product. 100% User friendly easy to setup. Thanks!</em>
186
+ <strong>Cody L.</strong>
187
+
188
+ <em>So far oneall.com is the perfect solution for my site and works flawlessly. I am extremely impressed and grateful.</em>
189
+ <strong>Terry P.</strong>
190
+
191
+ <em>I've gone in and tweaked it, tested it and it's good to go now! Wonderful, I feel like a grown up blogger now.</em>
192
+ <strong>Brian J.</strong>
193
+
194
+ <em>I am really impressed with your product! Its very dynamic and its gives me the flexibility I need for integration into my own business.</em>
195
+ <strong>Braxton D.</strong>
196
+
197
+ <em>Your delivery is superb. You should change your name to WONall because you won it all with me. You are awesome, stay that way please.</em>
198
+ <strong>Nicholas L.</strong>
199
+
200
+ <em>I especially enjoy the step by step process that guides you through the Social website App creation process. In the end I would like to thank you
201
+ for putting together such a great product that so many users can implement with ease.</em>
202
+ <strong>Stefan C.</strong>