Version Description
- Done the text modifications in the about section.
- Removed unnecessary comments in the frontend display.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Login WordPress Plugin – AccessPress Social Login Lite |
Version | 3.0.6 |
Comparing to | |
See all releases |
Code changes from version 3.0.5 to 3.0.6
- accesspress-social-login-lite.php +2 -2
- inc/backend/about.php +2 -2
- inc/backend/save-settings.php +0 -5
- inc/frontend/login_check.php +3 -4
- inc/frontend/login_integration.php +1 -2
- readme.txt +5 -1
accesspress-social-login-lite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin name: 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.0.
|
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.0.
|
16 |
}
|
17 |
|
18 |
if( !defined( 'APSL_IMAGE_DIR' ) ) {
|
3 |
Plugin name: 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.0.6
|
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.0.6' );
|
16 |
}
|
17 |
|
18 |
if( !defined( 'APSL_IMAGE_DIR' ) ) {
|
inc/backend/about.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<div class="about-wrapper clearfix">
|
2 |
<div class="about-desc-wrap clearfix">
|
3 |
-
<div class="ap-title"> About AccessPress Social Login</div>
|
4 |
<div class="about-content">
|
5 |
-
<p>AccessPress<strong>Social Login</strong> - is a perfect WordPress plugin to allow your website users to register/login to the website using one of their favorite social website accounts.</p>
|
6 |
</div>
|
7 |
</div>
|
8 |
</div>
|
1 |
<div class="about-wrapper clearfix">
|
2 |
<div class="about-desc-wrap clearfix">
|
3 |
+
<div class="ap-title"> About AccessPress Social Login Lite</div>
|
4 |
<div class="about-content">
|
5 |
+
<p>AccessPress<strong>Social Login Lite</strong> - is a perfect WordPress plugin to allow your website users to register/login to the website using one of their favorite social website accounts.</p>
|
6 |
</div>
|
7 |
</div>
|
8 |
</div>
|
inc/backend/save-settings.php
CHANGED
@@ -20,11 +20,6 @@ $facebook_parameters = array( 'apsl_facebook_enable' => $apsl_facebook_enable,
|
|
20 |
);
|
21 |
$apsl_settings['apsl_facebook_settings'] = $facebook_parameters;
|
22 |
|
23 |
-
// echo "<pre>";
|
24 |
-
// print_r($apsl_settings['apsl_facebook_settings']);
|
25 |
-
// echo "</pre>";
|
26 |
-
// die();
|
27 |
-
|
28 |
//for twitter settings
|
29 |
foreach( $_POST['apsl_twitter_settings'] as $key => $value ) {
|
30 |
$$key = sanitize_text_field( $value );
|
20 |
);
|
21 |
$apsl_settings['apsl_facebook_settings'] = $facebook_parameters;
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
//for twitter settings
|
24 |
foreach( $_POST['apsl_twitter_settings'] as $key => $value ) {
|
25 |
$$key = sanitize_text_field( $value );
|
inc/frontend/login_check.php
CHANGED
@@ -1,21 +1,20 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
4 |
|
5 |
if( !class_exists( 'APSL_Lite_Login_Check_Class' ) ) {
|
6 |
-
|
7 |
class APSL_Lite_Login_Check_Class {
|
8 |
//constructor
|
9 |
function __construct() {
|
10 |
if( isset( $_GET['apsl_login_id'] ) ) {
|
11 |
if( isset( $_REQUEST['state'] ) ) {
|
12 |
parse_str( base64_decode( $_REQUEST['state'] ), $state_vars );
|
13 |
-
|
14 |
if( isset( $state_vars['redirect_to'] ) ) {
|
15 |
$_GET['redirect_to'] = $_REQUEST['redirect_to'] = $state_vars['redirect_to'];
|
16 |
}
|
17 |
}
|
18 |
-
|
19 |
$exploder = explode( '_', $_GET['apsl_login_id'] );
|
20 |
switch( $exploder[0] ) {
|
21 |
case 'facebook':
|
1 |
<?php
|
|
|
2 |
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
3 |
|
4 |
if( !class_exists( 'APSL_Lite_Login_Check_Class' ) ) {
|
5 |
+
|
6 |
class APSL_Lite_Login_Check_Class {
|
7 |
//constructor
|
8 |
function __construct() {
|
9 |
if( isset( $_GET['apsl_login_id'] ) ) {
|
10 |
if( isset( $_REQUEST['state'] ) ) {
|
11 |
parse_str( base64_decode( $_REQUEST['state'] ), $state_vars );
|
12 |
+
|
13 |
if( isset( $state_vars['redirect_to'] ) ) {
|
14 |
$_GET['redirect_to'] = $_REQUEST['redirect_to'] = $state_vars['redirect_to'];
|
15 |
}
|
16 |
}
|
17 |
+
|
18 |
$exploder = explode( '_', $_GET['apsl_login_id'] );
|
19 |
switch( $exploder[0] ) {
|
20 |
case 'facebook':
|
inc/frontend/login_integration.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
4 |
$options = get_option( APSL_SETTINGS );
|
5 |
|
1 |
+
<?php
|
|
|
2 |
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
3 |
$options = get_option( APSL_SETTINGS );
|
4 |
|
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.3
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -131,6 +131,10 @@ Yes. You can use the AccessPress social login lite anywhere by using shortcode i
|
|
131 |
4. Backend Other settings Section.
|
132 |
|
133 |
== Changelog ==
|
|
|
|
|
|
|
|
|
134 |
= 3.0.5 =
|
135 |
* Removed unnecessary commented code from plugins settings pages.
|
136 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 3.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
131 |
4. Backend Other settings Section.
|
132 |
|
133 |
== Changelog ==
|
134 |
+
= 3.0.6 =
|
135 |
+
* Done the text modifications in the about section.
|
136 |
+
* Removed unnecessary comments in the frontend display.
|
137 |
+
|
138 |
= 3.0.5 =
|
139 |
* Removed unnecessary commented code from plugins settings pages.
|
140 |
|