Version Description
- Fix for Error in Insert Query
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Social Login |
Version | 6.1.0 |
Comparing to | |
See all releases |
Code changes from version 6.0.2 to 6.1.0
- miniorange_openid_sso_settings.php +4 -29
- readme.txt +7 -1
miniorange_openid_sso_settings.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Social Login, Social Sharing by miniOrange
|
5 |
* Plugin URI: https://www.miniorange.com
|
6 |
* Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
|
7 |
-
* Version: 6.0
|
8 |
* Author: miniOrange
|
9 |
* Author URI: https://www.miniorange.com
|
10 |
* License: GPL2
|
@@ -29,11 +29,10 @@ class Miniorange_OpenID_SSO {
|
|
29 |
add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_script' ) );
|
30 |
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_style' ) ,5);
|
31 |
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
|
32 |
-
add_action( 'upgrader_process_complete', '
|
33 |
-
|
34 |
register_deactivation_hook(__FILE__, array( $this, 'mo_openid_deactivate'));
|
35 |
register_activation_hook( __FILE__, array( $this, 'mo_openid_activate' ) );
|
36 |
-
register_activation_hook( __FILE__, array( $this, 'mo_openid_create_account_linking_table' ) );
|
37 |
|
38 |
// add social login icons to default login form
|
39 |
if(get_option('mo_openid_default_login_enable') == 1){
|
@@ -207,30 +206,6 @@ class Miniorange_OpenID_SSO {
|
|
207 |
function mo_openid_activate() {
|
208 |
add_option('Activated_Plugin','Plugin-Slug');
|
209 |
}
|
210 |
-
|
211 |
-
// create a new table in wordpress database to handle account-linking
|
212 |
-
function mo_openid_create_account_linking_table()
|
213 |
-
{
|
214 |
-
|
215 |
-
global $wpdb;
|
216 |
-
$table_name = $wpdb->prefix . 'mo_openid_linked_user';
|
217 |
-
$charset_collate = $wpdb->get_charset_collate();
|
218 |
-
|
219 |
-
if($wpdb->get_var("show tables like '$table_name'") != $table_name)
|
220 |
-
{
|
221 |
-
$sql = "CREATE TABLE $table_name (
|
222 |
-
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
223 |
-
linked_social_app varchar(55) NOT NULL,
|
224 |
-
linked_email varchar(55) NOT NULL,
|
225 |
-
user_id mediumint(10) NOT NULL,
|
226 |
-
identifier VARCHAR(100) NOT NULL,
|
227 |
-
PRIMARY KEY (id)
|
228 |
-
) $charset_collate;";
|
229 |
-
|
230 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
231 |
-
dbDelta($sql);
|
232 |
-
}
|
233 |
-
}
|
234 |
|
235 |
function mo_openid_add_social_login(){
|
236 |
|
@@ -392,7 +367,7 @@ class Miniorange_OpenID_SSO {
|
|
392 |
// create mo_openid_linked_user if it doesn't exist
|
393 |
// + add entries in wp_mo_openid_linked_user table
|
394 |
// + remove columns app name and identifier from wp_users table
|
395 |
-
function
|
396 |
|
397 |
global $wpdb;
|
398 |
$table_name = $wpdb->prefix . 'mo_openid_linked_user';
|
4 |
* Plugin Name: Social Login, Social Sharing by miniOrange
|
5 |
* Plugin URI: https://www.miniorange.com
|
6 |
* Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
|
7 |
+
* Version: 6.1.0
|
8 |
* Author: miniOrange
|
9 |
* Author URI: https://www.miniorange.com
|
10 |
* License: GPL2
|
29 |
add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_script' ) );
|
30 |
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_style' ) ,5);
|
31 |
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
|
32 |
+
add_action( 'upgrader_process_complete', array( $this, 'mo_openid_plugin_updates' ), 1 );
|
33 |
+
|
34 |
register_deactivation_hook(__FILE__, array( $this, 'mo_openid_deactivate'));
|
35 |
register_activation_hook( __FILE__, array( $this, 'mo_openid_activate' ) );
|
|
|
36 |
|
37 |
// add social login icons to default login form
|
38 |
if(get_option('mo_openid_default_login_enable') == 1){
|
206 |
function mo_openid_activate() {
|
207 |
add_option('Activated_Plugin','Plugin-Slug');
|
208 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
|
210 |
function mo_openid_add_social_login(){
|
211 |
|
367 |
// create mo_openid_linked_user if it doesn't exist
|
368 |
// + add entries in wp_mo_openid_linked_user table
|
369 |
// + remove columns app name and identifier from wp_users table
|
370 |
+
function mo_openid_plugin_updates(){
|
371 |
|
372 |
global $wpdb;
|
373 |
$table_name = $wpdb->prefix . 'mo_openid_linked_user';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
|
|
4 |
Tags: social login, social, facebook, twitter, login
|
5 |
Requires at least: 2.0.2
|
6 |
Tested up to: 4.9.4
|
7 |
-
Stable tag: 6.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -160,6 +160,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
160 |
|
161 |
|
162 |
== Changelog ==
|
|
|
|
|
|
|
163 |
= 6.0.2 =
|
164 |
* Minor Changes in Readme & Licensing Plans tab
|
165 |
|
@@ -440,6 +443,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
440 |
* First version of Social Login, Social Sharing plugin.
|
441 |
|
442 |
== Upgrade Notice ==
|
|
|
|
|
|
|
443 |
= 6.0.2 =
|
444 |
* Minor Changes in Readme & Licensing Plans tab
|
445 |
|
4 |
Tags: social login, social, facebook, twitter, login
|
5 |
Requires at least: 2.0.2
|
6 |
Tested up to: 4.9.4
|
7 |
+
Stable tag: 6.1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
160 |
|
161 |
|
162 |
== Changelog ==
|
163 |
+
= 6.1.0 =
|
164 |
+
* Fix for Error in Insert Query
|
165 |
+
|
166 |
= 6.0.2 =
|
167 |
* Minor Changes in Readme & Licensing Plans tab
|
168 |
|
443 |
* First version of Social Login, Social Sharing plugin.
|
444 |
|
445 |
== Upgrade Notice ==
|
446 |
+
= 6.1.0 =
|
447 |
+
* Fix for Error in Insert Query
|
448 |
+
|
449 |
= 6.0.2 =
|
450 |
* Minor Changes in Readme & Licensing Plans tab
|
451 |
|