Version Description
- Done small bug fixings in the backend settings.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Login WordPress Plugin – AccessPress Social Login Lite |
Version | 3.3.3 |
Comparing to | |
See all releases |
Code changes from version 3.3.2 to 3.3.3
- accesspress-social-login-lite.php +2 -2
- inc/backend/main-page.php +3 -4
- inc/backend/save-settings.php +0 -6
- inc/backend/widget.php +5 -9
- readme.txt +9 -6
accesspress-social-login-lite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin name: Social Login WordPress Plugin - AccessPress Social Login Lite
|
4 |
Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-login-lite/
|
5 |
Description: A plugin to add various social logins to a site.
|
6 |
-
version: 3.3.
|
7 |
Author: AccessPress Themes
|
8 |
Author URI: https://accesspressthemes.com/
|
9 |
Text Domain: accesspress-social-login-lite
|
@@ -12,7 +12,7 @@
|
|
12 |
*/
|
13 |
//Declearation of the necessary constants for plugin
|
14 |
if( !defined( 'APSL_VERSION' ) ) {
|
15 |
-
define( 'APSL_VERSION', '3.3.
|
16 |
}
|
17 |
|
18 |
if( !defined( 'APSL_IMAGE_DIR' ) ) {
|
3 |
Plugin name: Social Login WordPress Plugin - AccessPress Social Login Lite
|
4 |
Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-login-lite/
|
5 |
Description: A plugin to add various social logins to a site.
|
6 |
+
version: 3.3.3
|
7 |
Author: AccessPress Themes
|
8 |
Author URI: https://accesspressthemes.com/
|
9 |
Text Domain: accesspress-social-login-lite
|
12 |
*/
|
13 |
//Declearation of the necessary constants for plugin
|
14 |
if( !defined( 'APSL_VERSION' ) ) {
|
15 |
+
define( 'APSL_VERSION', '3.3.3' );
|
16 |
}
|
17 |
|
18 |
if( !defined( 'APSL_IMAGE_DIR' ) ) {
|
inc/backend/main-page.php
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
<div class="apsl-headerlogo">
|
6 |
<div class="logo-wrap"> <img src="<?php echo APSL_IMAGE_DIR; ?>/logo.png" alt="<?php esc_attr_e( 'AccessPress Social Login Lite', 'accesspress-social-login-lite' ); ?>" /></div>
|
7 |
<div class="logo-content"><?php esc_attr_e( 'AccessPress Social Login Lite', 'accesspress-social-login-lite' ); ?><br />
|
8 |
-
<span class='plugin-version'><?php _e( 'version ' . APSL_VERSION, 'accesspress-social-login-lite' ); ?></span
|
|
|
9 |
</div>
|
10 |
|
11 |
<div class="apsl-right-header-block">
|
@@ -57,7 +58,6 @@
|
|
57 |
<div class="clear"></div>
|
58 |
<div class='apsl-setting-tabs-wrapper'>
|
59 |
<div class='apsl-tab-contents' id='tab-apsl-networks-settings'>
|
60 |
-
|
61 |
<div class='network-settings'>
|
62 |
<?php
|
63 |
foreach( $options['network_ordering'] as $key => $value ): ?>
|
@@ -246,7 +246,6 @@
|
|
246 |
</div>
|
247 |
|
248 |
<div class='apsl-tab-contents' id='tab-apsl-theme-settings' style="display:none">
|
249 |
-
|
250 |
<div class='apsl-settings'>
|
251 |
<div class='apsl-enable-disable-opt'>
|
252 |
<div class="apsl-label"><?php _e( 'Social login', 'accesspress-social-login-lite' ); ?> <span class='apsl_show_hide'><i class="fa fa-caret-down"></i></span> </div>
|
@@ -481,8 +480,8 @@
|
|
481 |
<?php $nonce = wp_create_nonce( 'apsl-restore-default-settings-nonce' ); ?>
|
482 |
<a href="<?php echo admin_url() . 'admin-post.php?action=apsl_restore_default_settings&_wpnonce=' . $nonce; ?>" onclick="return confirm('<?php _e( 'Are you sure you want to restore default settings?', 'accesspress-social-login-lite' ); ?>')"><input type="button" value="Restore Default Settings" class="apsl-reset-button button primary-button"/></a>
|
483 |
</div>
|
484 |
-
|
485 |
</div>
|
|
|
486 |
</div>
|
487 |
</div>
|
488 |
</div>
|
5 |
<div class="apsl-headerlogo">
|
6 |
<div class="logo-wrap"> <img src="<?php echo APSL_IMAGE_DIR; ?>/logo.png" alt="<?php esc_attr_e( 'AccessPress Social Login Lite', 'accesspress-social-login-lite' ); ?>" /></div>
|
7 |
<div class="logo-content"><?php esc_attr_e( 'AccessPress Social Login Lite', 'accesspress-social-login-lite' ); ?><br />
|
8 |
+
<span class='plugin-version'><?php _e( 'version ' . APSL_VERSION, 'accesspress-social-login-lite' ); ?></span>
|
9 |
+
</div>
|
10 |
</div>
|
11 |
|
12 |
<div class="apsl-right-header-block">
|
58 |
<div class="clear"></div>
|
59 |
<div class='apsl-setting-tabs-wrapper'>
|
60 |
<div class='apsl-tab-contents' id='tab-apsl-networks-settings'>
|
|
|
61 |
<div class='network-settings'>
|
62 |
<?php
|
63 |
foreach( $options['network_ordering'] as $key => $value ): ?>
|
246 |
</div>
|
247 |
|
248 |
<div class='apsl-tab-contents' id='tab-apsl-theme-settings' style="display:none">
|
|
|
249 |
<div class='apsl-settings'>
|
250 |
<div class='apsl-enable-disable-opt'>
|
251 |
<div class="apsl-label"><?php _e( 'Social login', 'accesspress-social-login-lite' ); ?> <span class='apsl_show_hide'><i class="fa fa-caret-down"></i></span> </div>
|
480 |
<?php $nonce = wp_create_nonce( 'apsl-restore-default-settings-nonce' ); ?>
|
481 |
<a href="<?php echo admin_url() . 'admin-post.php?action=apsl_restore_default_settings&_wpnonce=' . $nonce; ?>" onclick="return confirm('<?php _e( 'Are you sure you want to restore default settings?', 'accesspress-social-login-lite' ); ?>')"><input type="button" value="Restore Default Settings" class="apsl-reset-button button primary-button"/></a>
|
482 |
</div>
|
|
|
483 |
</div>
|
484 |
+
</form>
|
485 |
</div>
|
486 |
</div>
|
487 |
</div>
|
inc/backend/save-settings.php
CHANGED
@@ -4,14 +4,12 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
4 |
$apsl_settings = array();
|
5 |
$apsl_settings['network_ordering'] = $_POST['network_ordering'];
|
6 |
|
7 |
-
|
8 |
//for facebook settings
|
9 |
foreach( $_POST['apsl_facebook_settings'] as $key => $value ) {
|
10 |
$$key = sanitize_text_field( $value );
|
11 |
}
|
12 |
|
13 |
$apsl_facebook_enable = isset( $apsl_facebook_enable ) ? $apsl_facebook_enable : '';
|
14 |
-
|
15 |
$facebook_parameters = array( 'apsl_facebook_enable' => $apsl_facebook_enable,
|
16 |
'apsl_facebook_app_id' => $apsl_facebook_app_id,
|
17 |
'apsl_facebook_app_secret' => $apsl_facebook_app_secret,
|
@@ -27,7 +25,6 @@ foreach( $_POST['apsl_twitter_settings'] as $key => $value ) {
|
|
27 |
$apsl_twitter_enable = isset( $apsl_twitter_enable ) ? $apsl_twitter_enable : '';
|
28 |
|
29 |
$twitter_parameters = array('apsl_twitter_enable' => $apsl_twitter_enable, 'apsl_twitter_api_key' => $apsl_twitter_api_key, 'apsl_twitter_api_secret' => $apsl_twitter_api_secret);
|
30 |
-
|
31 |
$apsl_settings['apsl_twitter_settings'] = $twitter_parameters;
|
32 |
|
33 |
//for google settings
|
@@ -36,13 +33,10 @@ foreach( $_POST['apsl_google_settings'] as $key => $value ) {
|
|
36 |
}
|
37 |
|
38 |
$apsl_google_enable = isset( $apsl_google_enable ) ? $apsl_google_enable : '';
|
39 |
-
|
40 |
$google_parameters = array('apsl_google_enable' => $apsl_google_enable, 'apsl_google_client_id' => $apsl_google_client_id, 'apsl_google_client_secret' => $apsl_google_client_secret);
|
41 |
|
42 |
$apsl_settings['apsl_google_settings'] = $google_parameters;
|
43 |
-
|
44 |
$apsl_settings['apsl_enable_disable_plugin'] = $_POST['apsl_enable_disable_plugin'];
|
45 |
-
|
46 |
$display_options = array();
|
47 |
if( isset( $_POST['apsl_display_options'] ) ) {
|
48 |
foreach( $_POST['apsl_display_options'] as $key => $value ) {
|
4 |
$apsl_settings = array();
|
5 |
$apsl_settings['network_ordering'] = $_POST['network_ordering'];
|
6 |
|
|
|
7 |
//for facebook settings
|
8 |
foreach( $_POST['apsl_facebook_settings'] as $key => $value ) {
|
9 |
$$key = sanitize_text_field( $value );
|
10 |
}
|
11 |
|
12 |
$apsl_facebook_enable = isset( $apsl_facebook_enable ) ? $apsl_facebook_enable : '';
|
|
|
13 |
$facebook_parameters = array( 'apsl_facebook_enable' => $apsl_facebook_enable,
|
14 |
'apsl_facebook_app_id' => $apsl_facebook_app_id,
|
15 |
'apsl_facebook_app_secret' => $apsl_facebook_app_secret,
|
25 |
$apsl_twitter_enable = isset( $apsl_twitter_enable ) ? $apsl_twitter_enable : '';
|
26 |
|
27 |
$twitter_parameters = array('apsl_twitter_enable' => $apsl_twitter_enable, 'apsl_twitter_api_key' => $apsl_twitter_api_key, 'apsl_twitter_api_secret' => $apsl_twitter_api_secret);
|
|
|
28 |
$apsl_settings['apsl_twitter_settings'] = $twitter_parameters;
|
29 |
|
30 |
//for google settings
|
33 |
}
|
34 |
|
35 |
$apsl_google_enable = isset( $apsl_google_enable ) ? $apsl_google_enable : '';
|
|
|
36 |
$google_parameters = array('apsl_google_enable' => $apsl_google_enable, 'apsl_google_client_id' => $apsl_google_client_id, 'apsl_google_client_secret' => $apsl_google_client_secret);
|
37 |
|
38 |
$apsl_settings['apsl_google_settings'] = $google_parameters;
|
|
|
39 |
$apsl_settings['apsl_enable_disable_plugin'] = $_POST['apsl_enable_disable_plugin'];
|
|
|
40 |
$display_options = array();
|
41 |
if( isset( $_POST['apsl_display_options'] ) ) {
|
42 |
foreach( $_POST['apsl_display_options'] as $key => $value ) {
|
inc/backend/widget.php
CHANGED
@@ -23,15 +23,13 @@ class APSL_Lite_Widget extends WP_Widget {
|
|
23 |
public function form( $instance ) {
|
24 |
if( isset( $instance['title'] ) ) {
|
25 |
$title = $instance['title'];
|
26 |
-
}
|
27 |
-
else {
|
28 |
$title = '';
|
29 |
}
|
30 |
-
|
31 |
if( isset( $instance['login_text'] ) ) {
|
32 |
$login_text = $instance['login_text'];
|
33 |
-
}
|
34 |
-
else {
|
35 |
$login_text = '';
|
36 |
}
|
37 |
?>
|
@@ -44,7 +42,6 @@ class APSL_Lite_Widget extends WP_Widget {
|
|
44 |
<label for="<?php echo $this->get_field_id( 'login_text' ); ?>"><?php _e( 'Login Text: ', 'accesspress-social-login-lite' ); ?></label>
|
45 |
<input class="widefat" id="<?php echo $this->get_field_id( 'login_text' ); ?>" name="<?php echo $this->get_field_name( 'login_text' ); ?>" type="text" value="<?php echo esc_attr( $login_text ); ?>">
|
46 |
</p>
|
47 |
-
|
48 |
<?php
|
49 |
}
|
50 |
/**
|
@@ -63,8 +60,7 @@ class APSL_Lite_Widget extends WP_Widget {
|
|
63 |
global $post;
|
64 |
if( have_posts() ) {
|
65 |
$widget_flag = get_post_meta( $post->ID, 'apsl_widget_flag', true );
|
66 |
-
}
|
67 |
-
else {
|
68 |
$widget_flag = 0;
|
69 |
}
|
70 |
if( $widget_flag != '1' ) {
|
@@ -90,4 +86,4 @@ class APSL_Lite_Widget extends WP_Widget {
|
|
90 |
$instance['login_text'] =( !empty( $new_instance['login_text'] ) ) ? strip_tags( $new_instance['login_text'] ) : '';
|
91 |
return $instance;
|
92 |
}
|
93 |
-
}
|
23 |
public function form( $instance ) {
|
24 |
if( isset( $instance['title'] ) ) {
|
25 |
$title = $instance['title'];
|
26 |
+
}else {
|
|
|
27 |
$title = '';
|
28 |
}
|
29 |
+
|
30 |
if( isset( $instance['login_text'] ) ) {
|
31 |
$login_text = $instance['login_text'];
|
32 |
+
}else {
|
|
|
33 |
$login_text = '';
|
34 |
}
|
35 |
?>
|
42 |
<label for="<?php echo $this->get_field_id( 'login_text' ); ?>"><?php _e( 'Login Text: ', 'accesspress-social-login-lite' ); ?></label>
|
43 |
<input class="widefat" id="<?php echo $this->get_field_id( 'login_text' ); ?>" name="<?php echo $this->get_field_name( 'login_text' ); ?>" type="text" value="<?php echo esc_attr( $login_text ); ?>">
|
44 |
</p>
|
|
|
45 |
<?php
|
46 |
}
|
47 |
/**
|
60 |
global $post;
|
61 |
if( have_posts() ) {
|
62 |
$widget_flag = get_post_meta( $post->ID, 'apsl_widget_flag', true );
|
63 |
+
}else {
|
|
|
64 |
$widget_flag = 0;
|
65 |
}
|
66 |
if( $widget_flag != '1' ) {
|
86 |
$instance['login_text'] =( !empty( $new_instance['login_text'] ) ) ? strip_tags( $new_instance['login_text'] ) : '';
|
87 |
return $instance;
|
88 |
}
|
89 |
+
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: social, login, social login, facebook, twitter, google, social connect, s
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 3.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -13,7 +13,7 @@ No WordPress account and user credentials to remember, login using any of the mo
|
|
13 |
== Description ==
|
14 |
[Homepage](https://accesspressthemes.com/) | [Documentation](https://accesspressthemes.com/documentation/documentationplugin-instruction-accesspress-social-login-lite/) | [Support](https://accesspressthemes.com/support) | [Demo](http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-login-lite/) | [Premium Version](https://accesspressthemes.com/wordpress-plugins/accesspress-social-login/)
|
15 |
|
16 |
-
AccessPress <strong>Social Login
|
17 |
|
18 |
As a website owner you can easily configure which social accounts to enable/disable for login, which areas of the website social login should be displayed (login, registration, comments). Also you can select the social login buttons/icons from 4 beautifully designed templates to fit them with your website's overall design/theme. Your website will fetch real data of the user's social profile!
|
19 |
|
@@ -21,7 +21,7 @@ Your website visitors, can choose one of their favorite social accounts to login
|
|
21 |
|
22 |
Plugin setup is as easy as 1, 2, 3!
|
23 |
|
24 |
-
<strong>Select from the most popular 3 social media
|
25 |
configure which social media option to display at login area.
|
26 |
|
27 |
<strong>Easy setup</strong>
|
@@ -31,7 +31,7 @@ Just put a few authorization details for each option you want to enable. Select
|
|
31 |
Select from 4 beautiful designs of social login buttons/icons.
|
32 |
|
33 |
|
34 |
-
<strong>Your website visitors can now login using one of their favorite social account login. Easy, quick and convenient
|
35 |
|
36 |
<strong> This plugin requires PHP version 5.4 or Higher. </strong>
|
37 |
|
@@ -54,7 +54,7 @@ Select from 4 beautiful designs of social login buttons/icons.
|
|
54 |
- Dedicated email, forum support.
|
55 |
|
56 |
= Supported Networks: =
|
57 |
-
* Facebook
|
58 |
* Twitter
|
59 |
* Google
|
60 |
|
@@ -94,7 +94,7 @@ For premium upgrade please go [here](http://accesspressthemes.com/wordpress-plug
|
|
94 |
* <strong>Support Forum Link</strong>: http://accesspressthemes.com/support/
|
95 |
* <strong>Website Link</strong>: http://accesspressthemes.com/
|
96 |
* <strong>Youtube channel link</strong>: https://www.youtube.com/watch?v=TjZNcVG3fDE
|
97 |
-
* <strong>Facebook link</strong>: https://www.facebook.com/AccessPressThemes
|
98 |
|
99 |
|
100 |
|
@@ -137,6 +137,9 @@ Yes. You can use the AccessPress social login lite anywhere by using shortcode i
|
|
137 |
4. Backend Other settings Section.
|
138 |
|
139 |
== Changelog ==
|
|
|
|
|
|
|
140 |
= 3.3.2 =
|
141 |
* Done the bug fixings for the login redirect issue occurring for the google login.
|
142 |
* Added the note section for the twitter login issue occurring for "Callback locking" issue.
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 3.3.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
13 |
== Description ==
|
14 |
[Homepage](https://accesspressthemes.com/) | [Documentation](https://accesspressthemes.com/documentation/documentationplugin-instruction-accesspress-social-login-lite/) | [Support](https://accesspressthemes.com/support) | [Demo](http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-login-lite/) | [Premium Version](https://accesspressthemes.com/wordpress-plugins/accesspress-social-login/)
|
15 |
|
16 |
+
AccessPress <strong>Social Login</strong> lite - is a perfect <strong>Free WordPress plugin</strong> to allow your website users to register/login to the website using one of their favorite social website accounts.
|
17 |
|
18 |
As a website owner you can easily configure which social accounts to enable/disable for login, which areas of the website social login should be displayed (login, registration, comments). Also you can select the social login buttons/icons from 4 beautifully designed templates to fit them with your website's overall design/theme. Your website will fetch real data of the user's social profile!
|
19 |
|
21 |
|
22 |
Plugin setup is as easy as 1, 2, 3!
|
23 |
|
24 |
+
<strong>Select from the most popular 3 social media</strong>
|
25 |
configure which social media option to display at login area.
|
26 |
|
27 |
<strong>Easy setup</strong>
|
31 |
Select from 4 beautiful designs of social login buttons/icons.
|
32 |
|
33 |
|
34 |
+
<strong>Your website visitors can now login using one of their favorite social account login. Easy, quick and convenient.</strong>
|
35 |
|
36 |
<strong> This plugin requires PHP version 5.4 or Higher. </strong>
|
37 |
|
54 |
- Dedicated email, forum support.
|
55 |
|
56 |
= Supported Networks: =
|
57 |
+
* Facebook
|
58 |
* Twitter
|
59 |
* Google
|
60 |
|
94 |
* <strong>Support Forum Link</strong>: http://accesspressthemes.com/support/
|
95 |
* <strong>Website Link</strong>: http://accesspressthemes.com/
|
96 |
* <strong>Youtube channel link</strong>: https://www.youtube.com/watch?v=TjZNcVG3fDE
|
97 |
+
* <strong>Facebook link</strong>: https://www.facebook.com/AccessPressThemes
|
98 |
|
99 |
|
100 |
|
137 |
4. Backend Other settings Section.
|
138 |
|
139 |
== Changelog ==
|
140 |
+
= 3.3.3 =
|
141 |
+
* Done small bug fixings in the backend settings.
|
142 |
+
|
143 |
= 3.3.2 =
|
144 |
* Done the bug fixings for the login redirect issue occurring for the google login.
|
145 |
* Added the note section for the twitter login issue occurring for "Callback locking" issue.
|