Admin Custom Login - Version 3.3.8

Version Description

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Admin Custom Login
Version 3.3.8
Comparing to
See all releases

Code changes from version 3.3.7 to 3.3.8

acl-gcaptcha.php CHANGED
@@ -15,13 +15,13 @@ if ( isset( $g_page['login_enable_gcaptcha'] ) && ( 'yes' === $g_page['login_ena
15
  } elseif ( 'v2' === $login_v_gcaptcha ) {
16
  add_action( 'login_form', 'acl_captcha2_form' );
17
  add_action( 'login_enqueue_scripts', 'acl_captcha2_output' );
18
- add_action( 'wp_authenticate_user', 'acl_validate_captcha2', 10 ,2 );
19
  }
20
  }
21
 
22
  function acl_captcha2_form() {
23
- $g_page = unserialize( get_option( 'Admin_custome_login_gcaptcha' ) );
24
- $site_key = isset( $g_page['site_key'] ) ? $g_page['site_key'] : '';
25
  $acl_gcaptcha_theme = isset( $g_page['acl_gcaptcha_theme'] ) ? $g_page['acl_gcaptcha_theme'] : 'light';
26
  if ( 'yes' === $acl_gcaptcha_theme ) {
27
  $acl_gcaptcha_theme = 'light';
@@ -30,11 +30,11 @@ function acl_captcha2_form() {
30
  }
31
  ?>
32
  <div class="g-recaptcha" data-sitekey="<?php echo esc_attr( $site_key ); ?>" data-theme="<?php echo esc_attr( $acl_gcaptcha_theme ); ?>"></div> <br>
33
- <?php
34
  }
35
 
36
  function acl_captcha2_output() {
37
- wp_enqueue_script( 'acl-recaptcha-api-js', "https://www.google.com/recaptcha/api.js" );
38
  }
39
 
40
  /**
@@ -45,35 +45,35 @@ function acl_captcha2_output() {
45
  * @return void
46
  */
47
  function acl_validate_captcha2( $user, $password ) {
48
- $g_page = unserialize( get_option( 'Admin_custome_login_gcaptcha' ) );
49
  $secret_key = isset( $g_page['secret_key'] ) ? $g_page['secret_key'] : '';
50
-
51
  if ( isset( $_POST['g-recaptcha-response'] ) ) {
52
  $response = wp_remote_post(
53
  'https://www.google.com/recaptcha/api/siteverify',
54
  array(
55
  'body' => array(
56
  'secret' => $secret_key,
57
- 'response' => $_POST['g-recaptcha-response']
58
- )
59
  )
60
  );
61
 
62
  $data = wp_remote_retrieve_body( $response );
63
- $data = json_decode($data);
64
 
65
  if ( isset( $data->success ) && $data->success ) {
66
  return $user;
67
  }
68
  }
69
 
70
- return new WP_Error( wp_kses_post('empty_captcha', '<strong>ERROR</strong>: Please confirm you are not a robot', WEBLIZAR_ACL ) );
71
  }
72
 
73
  function acl_captcha3_form() {
74
- ?>
75
  <input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response">
76
- <?php
77
  }
78
 
79
  function acl_captcha3_output() {
@@ -81,17 +81,17 @@ function acl_captcha3_output() {
81
 
82
  $site_key_v3 = isset( $g_page['site_key_v3'] ) ? $g_page['site_key_v3'] : '';
83
 
 
 
84
  wp_enqueue_script( 'acl-recaptcha-api-js', "https://www.google.com/recaptcha/api.js?render=$site_key_v3" );
85
  wp_register_script( 'acl-recaptcha-v3-js', '', array( 'acl-recaptcha-api-js' ) );
86
  wp_enqueue_script( 'acl-recaptcha-v3-js' );
87
 
88
- $script = <<<EOT
89
- grecaptcha.ready(function() {
90
- grecaptcha.execute('$site_key_v3', {action: 'login'}).then(function(token) {
91
- document.getElementById("g-recaptcha-response").value = token;
92
- });
93
- });
94
- EOT;
95
  wp_add_inline_script( 'acl-recaptcha-v3-js', $script );
96
  }
97
 
@@ -106,19 +106,20 @@ function acl_validate_captcha3( $user, $password ) {
106
  array(
107
  'body' => array(
108
  'secret' => $secret_key_v3,
109
- 'response' => $_POST['g-recaptcha-response']
110
- )
111
  )
112
  );
113
 
114
  $data = wp_remote_retrieve_body( $response );
115
- $data = json_decode($data);
116
 
117
  if ( isset( $data->success ) && $data->success && isset( $data->score ) && $data->score > 0 && isset( $data->action ) && 'login' === $data->action ) {
118
  return $user;
119
  }
120
  }
121
 
122
- return new WP_Error( wp_kses_post('empty_captcha', '<strong>ERROR</strong>: Please confirm you are not a robot', WEBLIZAR_ACL) );
123
  }
124
- ?>
 
15
  } elseif ( 'v2' === $login_v_gcaptcha ) {
16
  add_action( 'login_form', 'acl_captcha2_form' );
17
  add_action( 'login_enqueue_scripts', 'acl_captcha2_output' );
18
+ add_action( 'wp_authenticate_user', 'acl_validate_captcha2', 10, 2 );
19
  }
20
  }
21
 
22
  function acl_captcha2_form() {
23
+ $g_page = unserialize( get_option( 'Admin_custome_login_gcaptcha' ) );
24
+ $site_key = isset( $g_page['site_key'] ) ? $g_page['site_key'] : '';
25
  $acl_gcaptcha_theme = isset( $g_page['acl_gcaptcha_theme'] ) ? $g_page['acl_gcaptcha_theme'] : 'light';
26
  if ( 'yes' === $acl_gcaptcha_theme ) {
27
  $acl_gcaptcha_theme = 'light';
30
  }
31
  ?>
32
  <div class="g-recaptcha" data-sitekey="<?php echo esc_attr( $site_key ); ?>" data-theme="<?php echo esc_attr( $acl_gcaptcha_theme ); ?>"></div> <br>
33
+ <?php
34
  }
35
 
36
  function acl_captcha2_output() {
37
+ wp_enqueue_script( 'acl-recaptcha-api-js', 'https://www.google.com/recaptcha/api.js' );
38
  }
39
 
40
  /**
45
  * @return void
46
  */
47
  function acl_validate_captcha2( $user, $password ) {
48
+ $g_page = unserialize( get_option( 'Admin_custome_login_gcaptcha' ) );
49
  $secret_key = isset( $g_page['secret_key'] ) ? $g_page['secret_key'] : '';
50
+
51
  if ( isset( $_POST['g-recaptcha-response'] ) ) {
52
  $response = wp_remote_post(
53
  'https://www.google.com/recaptcha/api/siteverify',
54
  array(
55
  'body' => array(
56
  'secret' => $secret_key,
57
+ 'response' => $_POST['g-recaptcha-response'],
58
+ ),
59
  )
60
  );
61
 
62
  $data = wp_remote_retrieve_body( $response );
63
+ $data = json_decode( $data );
64
 
65
  if ( isset( $data->success ) && $data->success ) {
66
  return $user;
67
  }
68
  }
69
 
70
+ return new WP_Error( wp_kses_post( 'empty_captcha', '<strong>ERROR</strong>: Please confirm you are not a robot', WEBLIZAR_ACL ) );
71
  }
72
 
73
  function acl_captcha3_form() {
74
+ ?>
75
  <input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response">
76
+ <?php
77
  }
78
 
79
  function acl_captcha3_output() {
81
 
82
  $site_key_v3 = isset( $g_page['site_key_v3'] ) ? $g_page['site_key_v3'] : '';
83
 
84
+ $site_key_v3 = sanitize_key( $site_key_v3 );
85
+
86
  wp_enqueue_script( 'acl-recaptcha-api-js', "https://www.google.com/recaptcha/api.js?render=$site_key_v3" );
87
  wp_register_script( 'acl-recaptcha-v3-js', '', array( 'acl-recaptcha-api-js' ) );
88
  wp_enqueue_script( 'acl-recaptcha-v3-js' );
89
 
90
+ $script = "grecaptcha.ready(function() {
91
+ grecaptcha.execute('$site_key_v3', {action: 'login'}).then(function(token) {
92
+ document.getElementById('g-recaptcha-response').value = token;
93
+ });
94
+ });";
 
 
95
  wp_add_inline_script( 'acl-recaptcha-v3-js', $script );
96
  }
97
 
106
  array(
107
  'body' => array(
108
  'secret' => $secret_key_v3,
109
+ 'response' => $_POST['g-recaptcha-response'],
110
+ ),
111
  )
112
  );
113
 
114
  $data = wp_remote_retrieve_body( $response );
115
+ $data = json_decode( $data );
116
 
117
  if ( isset( $data->success ) && $data->success && isset( $data->score ) && $data->score > 0 && isset( $data->action ) && 'login' === $data->action ) {
118
  return $user;
119
  }
120
  }
121
 
122
+ return new WP_Error( wp_kses_post( 'empty_captcha', '<strong>ERROR</strong>: Please confirm you are not a robot', WEBLIZAR_ACL ) );
123
  }
124
+
125
+ ?>
admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 3.3.7
5
  * Description: Customize Your WordPress Login Screen Amazingly - Add Own Logo, Add Social Profiles, Login Form Positions, Background Image Slide Show
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/
@@ -11,49 +11,51 @@
11
  */
12
 
13
  /** Exit if accessed directly **/
14
- if ( ! defined( 'ABSPATH' ) ) exit;
15
- define("WEBLIZAR_NALF_PLUGIN_URL", plugin_dir_url(__FILE__));
16
- define("WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE", plugin_dir_path(__FILE__));
17
- define("WEBLIZAR_ACL", "admin-custom-login");
 
 
18
 
19
  final class WL_ACL_FREE {
20
- private static $instance = null;
21
 
22
- private function __construct() {
23
  $this->initialize_hooks();
24
- }
25
 
26
- public static function get_instance() {
27
- if ( is_null( self::$instance ) ) {
28
- self::$instance = new self();
29
- }
30
- return self::$instance;
31
- }
32
 
33
- private function initialize_hooks() {
34
- require_once( 'admin/index.php' );
35
- }
36
  }
37
  WL_ACL_FREE::get_instance();
38
 
39
- /*** Admin Custom Login installation script **/
40
  register_activation_hook( __FILE__, 'ACL_WeblizarDoInstallation' );
41
  function ACL_WeblizarDoInstallation() {
42
- $plugin_data = get_plugin_data(__FILE__);
43
- require_once('installation.php');
44
  }
45
 
46
  /**
47
  * @param $links
48
  * @return mixed
49
  */
50
- function acl_links($links) {
51
- $acl_pro_link = '<a href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_blank">'. esc_html__('Go Pro', WEBLIZAR_ACL) .'</a>';
52
- $acl_settings_link = '<a href="admin.php?page=admin_custom_login">'. esc_html__('Settings', WEBLIZAR_ACL) .'</a>';
53
- array_unshift($links, $acl_settings_link);
54
- array_unshift($links, $acl_pro_link);
55
- return $links;
56
  }
57
- $acl_plugin_name = plugin_basename(__FILE__);
58
- add_filter("plugin_action_links_$acl_plugin_name", 'acl_links' );
59
- require_once( WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE . '/init.php' );
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 3.3.8
5
  * Description: Customize Your WordPress Login Screen Amazingly - Add Own Logo, Add Social Profiles, Login Form Positions, Background Image Slide Show
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/
11
  */
12
 
13
  /** Exit if accessed directly **/
14
+ if ( ! defined( 'ABSPATH' ) ) {
15
+ exit;
16
+ }
17
+ define( 'WEBLIZAR_NALF_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
18
+ define( 'WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE', plugin_dir_path( __FILE__ ) );
19
+ define( 'WEBLIZAR_ACL', 'admin-custom-login' );
20
 
21
  final class WL_ACL_FREE {
22
+ private static $instance = null;
23
 
24
+ private function __construct() {
25
  $this->initialize_hooks();
26
+ }
27
 
28
+ public static function get_instance() {
29
+ if ( is_null( self::$instance ) ) {
30
+ self::$instance = new self();
31
+ }
32
+ return self::$instance;
33
+ }
34
 
35
+ private function initialize_hooks() {
36
+ require_once 'admin/index.php';
37
+ }
38
  }
39
  WL_ACL_FREE::get_instance();
40
 
41
+ /*** Admin Custom Login installation script */
42
  register_activation_hook( __FILE__, 'ACL_WeblizarDoInstallation' );
43
  function ACL_WeblizarDoInstallation() {
44
+ $plugin_data = get_plugin_data( __FILE__ );
45
+ require_once 'installation.php';
46
  }
47
 
48
  /**
49
  * @param $links
50
  * @return mixed
51
  */
52
+ function acl_links( $links ) {
53
+ $acl_pro_link = '<a href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_blank">' . esc_html__( 'Go Pro', WEBLIZAR_ACL ) . '</a>';
54
+ $acl_settings_link = '<a href="admin.php?page=admin_custom_login">' . esc_html__( 'Settings', WEBLIZAR_ACL ) . '</a>';
55
+ array_unshift( $links, $acl_settings_link );
56
+ array_unshift( $links, $acl_pro_link );
57
+ return $links;
58
  }
59
+ $acl_plugin_name = plugin_basename( __FILE__ );
60
+ add_filter( "plugin_action_links_$acl_plugin_name", 'acl_links' );
61
+ require_once WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE . '/init.php';
admin/WL_ACL_FREE_Menu.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- defined( 'ABSPATH' ) or die();
3
-
4
- class WL_ACL_FREE_Menu {
5
- public static function admin_menu() {
6
- require_once( 'inc/admin_menu.php' );
7
- }
8
-
9
- public static function admin_menu_assets() {
10
- wp_enqueue_style( 'wp_acl_lc', WEBLIZAR_NALF_PLUGIN_URL . '/admin/inc/css/admin_menu.css' );
11
- }
12
- }
13
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/index.php CHANGED
@@ -1,4 +1,3 @@
1
  <?php
2
  defined( 'ABSPATH' ) or die();
3
- require_once WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE . '/admin/WL_ACL_FREE_Menu.php';
4
  ?>
1
  <?php
2
  defined( 'ABSPATH' ) or die();
 
3
  ?>
includes/design/background.php CHANGED
@@ -32,9 +32,9 @@ if ( ! defined( 'ABSPATH' ) ) exit;
32
  <select id="select-background" class="standard-dropdown" name="select-background" onchange='getComboid()'>
33
  <option value="no-background" ><?php esc_html_e('No Background Selected', WEBLIZAR_ACL)?></option>
34
  <optgroup label="<?php esc_html_e('Select Background', WEBLIZAR_ACL)?>">
35
- <option value="static-background-color" <?php echo ( $top_bg_type == 'static-background-color' ) ? 'selected=selected' : ''; ?> ><?php esc_html_e('Static Background Color', WEBLIZAR_ACL)?></option>
36
- <option value="static-background-image" <?php echo ( $top_bg_type == 'static-background-image') ? 'selected=selected' : ''; ?> ><?php esc_html_e('Static Background Image', WEBLIZAR_ACL)?></option>
37
- <option value="slider-background" <?php echo ( $top_bg_type == 'slider-background') ? 'selected=selected' : ''; ?>><?php esc_html_e('Background SlideShow', WEBLIZAR_ACL)?></option>
38
  </optgroup>
39
  </select>
40
  </td>
32
  <select id="select-background" class="standard-dropdown" name="select-background" onchange='getComboid()'>
33
  <option value="no-background" ><?php esc_html_e('No Background Selected', WEBLIZAR_ACL)?></option>
34
  <optgroup label="<?php esc_html_e('Select Background', WEBLIZAR_ACL)?>">
35
+ <option value="static-background-color" <?php echo esc_attr( $top_bg_type ); ?> ><?php esc_html_e('Static Background Color', WEBLIZAR_ACL)?></option>
36
+ <option value="static-background-image" <?php echo esc_attr( $top_bg_type ) ; ?> ><?php esc_html_e('Static Background Image', WEBLIZAR_ACL)?></option>
37
+ <option value="slider-background" <?php echo esc_attr( $top_bg_type ) ; ?>><?php esc_html_e('Background SlideShow', WEBLIZAR_ACL)?></option>
38
  </optgroup>
39
  </select>
40
  </td>
includes/login-form-setting/login-form-background.php CHANGED
@@ -152,7 +152,7 @@ if (!defined('ABSPATH')) exit;
152
  </div>
153
  <div id="div-login-bg-image" class="no-login-bg">
154
  <div style="margin-bottom: 10px;">
155
- <img src="<?php echo WEBLIZAR_NALF_PLUGIN_URL . '/images/background-image.png'; ?>" class="img-responsive" style="margin-right: auto;">
156
  </div>
157
  <div class="panel panel-primary panel-default content-panel">
158
  <div class="panel-body">
@@ -421,7 +421,7 @@ if (!defined('ABSPATH')) exit;
421
  </tr>
422
  <tr style="border-bottom:none;">
423
  <td>
424
- <input type="text" placeholder="<?php esc_attr_e('Type username or email field label text', WEBLIZAR_ACL); ?>" id="label_username" name="label_username" value="<?php echo stripslashes($label_username); ?>" style="width: 70%;">
425
  </td>
426
  </tr>
427
  </table>
@@ -438,7 +438,7 @@ if (!defined('ABSPATH')) exit;
438
  </tr>
439
  <tr style="border-bottom:none;">
440
  <td>
441
- <input type="text" placeholder="<?php esc_attr_e('Type username or email placeholder text', WEBLIZAR_ACL); ?>" id="user_cust_lbl" name="user_cust_lbl" value="<?php echo stripslashes(html_entity_decode($user_cust_lbl, ENT_QUOTES)); ?>" style="width: 70%;">
442
  </td>
443
  </tr>
444
  </table>
@@ -455,7 +455,7 @@ if (!defined('ABSPATH')) exit;
455
  </tr>
456
  <tr style="border-bottom:none;">
457
  <td>
458
- <input type="text" placeholder="<?php esc_attr_e('Type password field label text', WEBLIZAR_ACL); ?>" id="label_password" name="label_password" value="<?php echo stripslashes($label_password); ?>" style="width: 70%;">
459
  </td>
460
  </tr>
461
  </table>
@@ -472,7 +472,7 @@ if (!defined('ABSPATH')) exit;
472
  </tr>
473
  <tr style="border-bottom:none;">
474
  <td>
475
- <input type="text" placeholder="<?php esc_attr_e('Type password field placeholder text', WEBLIZAR_ACL); ?>" id="pass_cust_lbl" name="pass_cust_lbl" value="<?php echo stripslashes(html_entity_decode($pass_cust_lbl, ENT_QUOTES)); ?>" style="width: 70%;">
476
  </td>
477
  </tr>
478
  </table>
@@ -489,7 +489,7 @@ if (!defined('ABSPATH')) exit;
489
  </tr>
490
  <tr style="border-bottom:none;">
491
  <td>
492
- <input type="text" placeholder="<?php esc_attr_e('Type log in button text', WEBLIZAR_ACL); ?>" id="label_loginButton" name="label_loginButton" value="<?php echo stripslashes($label_loginButton); ?>" style="width: 70%;">
493
  </td>
494
  </tr>
495
  </table>
152
  </div>
153
  <div id="div-login-bg-image" class="no-login-bg">
154
  <div style="margin-bottom: 10px;">
155
+ <img src="<?php echo esc_url(WEBLIZAR_NALF_PLUGIN_URL . '/images/background-image.png'); ?>" class="img-responsive" style="margin-right: auto;">
156
  </div>
157
  <div class="panel panel-primary panel-default content-panel">
158
  <div class="panel-body">
421
  </tr>
422
  <tr style="border-bottom:none;">
423
  <td>
424
+ <input type="text" placeholder="<?php esc_attr_e('Type username or email field label text', WEBLIZAR_ACL); ?>" id="label_username" name="label_username" value="<?php echo esc_attr(stripslashes($label_username)); ?>" style="width: 70%;">
425
  </td>
426
  </tr>
427
  </table>
438
  </tr>
439
  <tr style="border-bottom:none;">
440
  <td>
441
+ <input type="text" placeholder="<?php esc_attr_e('Type username or email placeholder text', WEBLIZAR_ACL); ?>" id="user_cust_lbl" name="user_cust_lbl" value="<?php echo esc_attr($user_cust_lbl); ?>" style="width: 70%;">
442
  </td>
443
  </tr>
444
  </table>
455
  </tr>
456
  <tr style="border-bottom:none;">
457
  <td>
458
+ <input type="text" placeholder="<?php esc_attr_e('Type password field label text', WEBLIZAR_ACL); ?>" id="label_password" name="label_password" value="<?php echo esc_attr($label_password); ?>" style="width: 70%;">
459
  </td>
460
  </tr>
461
  </table>
472
  </tr>
473
  <tr style="border-bottom:none;">
474
  <td>
475
+ <input type="text" placeholder="<?php esc_attr_e('Type password field placeholder text', WEBLIZAR_ACL); ?>" id="pass_cust_lbl" name="pass_cust_lbl" value="<?php echo esc_attr($pass_cust_lbl); ?>" style="width: 70%;">
476
  </td>
477
  </tr>
478
  </table>
489
  </tr>
490
  <tr style="border-bottom:none;">
491
  <td>
492
+ <input type="text" placeholder="<?php esc_attr_e('Type log in button text', WEBLIZAR_ACL); ?>" id="label_loginButton" name="label_loginButton" value="<?php echo esc_attr($label_loginButton); ?>" style="width: 70%;">
493
  </td>
494
  </tr>
495
  </table>
includes/login-inline-css.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
  wp_register_style( 'acl-er-login-style', false );
3
  wp_enqueue_style( 'acl-er-login-style' );
4
- $css = " ";
5
  ob_start(); ?>
6
 
7
  /* Styles loading for Admin Custome Login */
@@ -9,91 +9,146 @@ ob_start(); ?>
9
  background: none !important;
10
  }
11
 
12
- <?php if ($top_page['top_bg_type'] == "static-background-color") { ?>html body.login {
13
- background: <?php echo esc_attr($top_page['top_color']); ?>;
 
 
 
14
  }
15
 
16
- <?php } else if ($top_page['top_bg_type'] == "static-background-image") { ?>html body.login {
17
- <?php if ($top_page['top_cover'] == "yes") { ?>background: url(<?php echo esc_attr($top_page['top_image']); ?>) no-repeat center center fixed;
 
 
 
 
 
 
18
  -webkit-background-size: cover;
19
  -moz-background-size: cover;
20
  -o-background-size: cover;
21
  background-size: cover;
22
- <?php } else { ?>background: url(<?php echo esc_attr($top_page['top_image']); ?>) <?php echo esc_attr($top_page['top_repeat']); ?> <?php echo esc_attr($top_page['top_position']); ?> !important;
 
 
 
23
  background-size: auto !important;
24
  <?php } ?>
25
  }
26
 
27
- <?php } else if ($top_page['top_bg_type'] == "slider-background") { ?>html body.login {
 
 
 
28
  background: #000;
29
  }
30
 
31
- <?php }
32
- if (isset($logo_page['logo_show']) && ($logo_page['logo_show'] == 'no')) {
33
- ?>body.login div#login>h1 {
 
 
34
  display: none;
35
  }
36
 
37
- <?php
38
  } else {
39
- ?>
40
 
41
  /* Styles for logo image */
42
  body.login div#login h1 a {
43
- background-image: url(<?php echo esc_url($logo_page['logo_image']); ?>) !important;
44
  padding-bottom: 30px;
45
- <?php if ($login_form_float == "center") { ?>margin: 0 auto;
46
- <?php } ?><?php if ($login_form_float == "left") { ?>margin-left: 30px;
47
- <?php } ?><?php if ($login_form_float == "right") { ?>margin-right: 25px;
48
- <?php } ?>background-size: <?php echo esc_attr($logo_page['logo_width']); ?>px <?php echo esc_attr($logo_page['logo_height']); ?>px;
49
- width: <?php echo esc_attr($logo_page['logo_width']); ?>px;
50
- height: <?php echo esc_attr($logo_page['logo_height']); ?>px;
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
 
53
- <?php
54
  }
55
- if ($login_form_position == 'lf_float_style') { ?>#login {
56
- float: <?php echo esc_attr($login_form_float); ?> !important;
 
 
 
57
  position: relative !important;
58
- <?php if ($login_form_float == "left") { ?>padding-left: 25px !important;
59
- <?php } ?><?php if ($login_form_float == "right") { ?>padding-right: 25px !important;
 
 
60
  <?php } ?>
 
 
 
 
 
61
  }
62
 
63
- <?php } ?><?php if ($login_form_position == 'lf_customize_style') { ?>#login {
 
 
 
 
64
  position: relative !important;
65
- <?php if ($login_page['login_form_left'] !== "") { ?>margin-left: <?php echo esc_attr($login_page['login_form_left']); ?>px !important;
66
- <?php } ?><?php if ($login_page['login_form_top'] !== "") { ?>padding-top: <?php echo esc_attr($login_page['login_form_top']); ?>px !important;
67
- <?php } ?>
 
 
 
 
 
 
 
68
  }
69
 
70
- <?php } ?>body.login #login {
71
- width: <?php echo esc_attr($login_page['login_form_width']); ?>px;
72
  }
73
 
74
  .language-switcher {
75
- display: <?php echo esc_attr($login_enable_language_switcher); ?>
76
  }
77
 
78
  .login form#loginform {
79
- border-radius: <?php echo esc_attr($login_page['login_form_radius']); ?>px;
80
- border: <?php echo esc_attr($login_page['login_border_thikness']); ?>px <?php echo esc_attr($login_page['login_border_style']); ?> <?php echo esc_attr($login_page['login_border_color']); ?> !important;
81
- -moz-box-shadow: <?php echo esc_attr($login_shadow_color); ?>;
82
- -webkit-box-shadow: <?php echo esc_attr($login_shadow_color); ?>;
83
- box-shadow: <?php echo esc_attr($login_shadow_color); ?> !important;
84
- <?php if ($Social_page['enable_social_icon'] == "inner" || $Social_page['enable_social_icon'] == "both") { ?>padding: 26px 24px 8px;
 
 
 
85
  <?php } ?>position: relative;
86
  z-index: 1;
87
  /* for ie */
88
- background-color: rgb(<?php echo esc_attr($loginbg['red']); ?>, <?php echo esc_attr($loginbg['green']); ?>, <?php echo esc_attr($loginbg['blue']); ?>) !important;
89
- background: url(<?php echo esc_attr($login_page['login_bg_image']); ?>) <?php echo esc_attr($login_page['login_bg_repeat']); ?> <?php echo esc_attr($login_page['login_bg_position']); ?>;
90
- background: rgba(<?php echo esc_attr($loginbg['red']); ?>, <?php echo esc_attr($loginbg['green']); ?>, <?php echo esc_attr($loginbg['blue']); ?>, <?php echo esc_attr($login_form_opacity); ?>) !important;
91
- <?php if ($login_page['login_bg_type'] == "static-background-image") { ?>background: url('<?php echo WEBLIZAR_NALF_PLUGIN_URL . 'css/img/' . $login_page['login_bg_effect'] . '.png'; ?>') repeat scroll left top, url(<?php echo esc_attr($login_page['login_bg_image']); ?>) <?php echo esc_attr($login_page['login_bg_repeat']); ?> <?php echo esc_attr($login_page['login_bg_position']); ?> !important;
 
 
 
92
  <?php } ?>
93
  }
94
 
95
  .icon-ph {
96
- color: <?php echo esc_attr($text_and_color_page['input_font_color']); ?>;
97
  }
98
 
99
  body.login div#login form p label,
@@ -102,41 +157,41 @@ ob_start(); ?>
102
  body.login div#login form .user-pass-wrap,
103
  body.login div#login form #forgetmenot_input,
104
  body.login div#login form #submit_input {
105
- color: <?php echo esc_attr($text_and_color_page['heading_font_color']); ?> !important;
106
- font-size: <?php echo esc_attr($text_and_color_page['heading_font_size']); ?>px !important;
107
- font-family: <?php echo esc_attr($text_and_color_page['heading_font_style']); ?> !important;
108
  }
109
 
110
  #reg_passmail {
111
- color: <?php echo esc_attr($text_and_color_page['heading_font_color']); ?> !important;
112
- font-size: <?php echo esc_attr($text_and_color_page['heading_font_size']); ?>px !important;
113
- font-family: <?php echo esc_attr($text_and_color_page['heading_font_style']); ?> !important;
114
  }
115
 
116
  body.login #loginform p.submit .button-primary,
117
  body.wp-core-ui .button-primary {
118
- background: <?php echo esc_attr($text_and_color_page['button_color']); ?>;
119
- color: <?php echo isset($text_and_color_page['login_button_font_color']) ? $text_and_color_page['login_button_font_color'] : '#ffffff'; ?> !important;
120
- font-size: <?php echo esc_attr($text_and_color_page['button_font_size']); ?>px;
121
  border: none !important;
122
- text-shadow: <?php echo esc_attr($link_shadow_color); ?>;
123
- font-family: <?php echo esc_attr($text_and_color_page['button_font_style']); ?>;
124
  }
125
 
126
  body.login #loginform p.submit .button-primary:hover,
127
  body.login #loginform p.submit .button-primary:focus,
128
  body.wp-core-ui .button-primary:hover {
129
- background: rgba(<?php echo esc_attr($btnrgba['red']); ?>, <?php echo esc_attr($btnrgba['green']); ?>, <?php echo esc_attr($btnrgba['blue']); ?>, 0.9) ;
130
- /*color: rgba(<?php echo esc_attr($btnrgba['red']); ?>,<?php echo esc_attr($btnrgba['green']); ?>,<?php echo esc_attr($btnrgba['blue']); ?>, 0.9) !important;*/
131
  }
132
 
133
  body.login div#login form .input,
134
  .login input[type="text"] {
135
- color: <?php echo esc_attr($text_and_color_page['input_font_color']); ?>;
136
- font-size: <?php echo esc_attr($text_and_color_page['input_font_size']); ?>px;
137
- font-family: <?php echo esc_attr($text_and_color_page['input_font_style']); ?>;
138
  -webkit-box-shadow: 0 0 0px 1000px white inset;
139
- -webkit-text-fill-color: <?php echo esc_attr($text_and_color_page['input_font_color']); ?> !important;
140
  }
141
 
142
  p.message.register {
@@ -144,36 +199,44 @@ ob_start(); ?>
144
  }
145
 
146
  <?php
147
- if (isset($text_and_color_page['show_remember_me_field']) && ($text_and_color_page['show_remember_me_field'] == 'no')) {
148
- ?>p.forgetmenot {
 
149
  display: none;
150
  }
151
 
152
- <?php } ?><?php
153
- if (isset($text_and_color_page['show_back_to_site_link']) && ($text_and_color_page['show_back_to_site_link'] == 'no')) {
154
- ?>p#backtoblog>a {
 
 
155
  display: none;
156
  }
157
 
158
- <?php } ?><?php
159
- if (isset($text_and_color_page['show_copyright_link_text']) && ($text_and_color_page['show_copyright_link_text'] == 'no')) {
160
- ?>.divfooter {
 
 
161
  display: none;
162
  }
163
 
164
- <?php } ?>body.login #nav a,
165
  body.login #backtoblog a {
166
- color: <?php echo esc_attr($text_and_color_page['link_color']); ?> !important;
167
- font-family: <?php echo esc_attr($text_and_color_page['link_font_style']); ?> !important;
168
- font-size: <?php echo esc_attr($text_and_color_page['link_size']); ?>px !important;
169
  }
170
 
171
  body.login #nav,
172
  body.login #backtoblog {
173
- text-shadow: <?php echo esc_attr($link_shadow_color); ?>;
174
  }
175
 
176
- <?php if ($login_form_float == "right") { ?>.login #nav {
 
 
 
177
  margin: 29px 0 60px;
178
  }
179
 
@@ -194,13 +257,13 @@ ob_start(); ?>
194
 
195
  .divfooter a,
196
  body.login #backtoblog .divfooter {
197
- color: <?php echo esc_attr(isset($login_page['login_tagline_text_color']) ? $login_page['login_tagline_text_color'] : '#ffffff'); ?> !important;
198
  text-shadow: none;
199
  }
200
 
201
  .divfooter a,
202
  body.login #backtoblog .divfooter a {
203
- color: <?php echo esc_attr(isset($login_page['login_tagline_link_color']) ? $login_page['login_tagline_link_color'] : '#f00'); ?> !important;
204
  text-shadow: none;
205
  }
206
 
@@ -212,18 +275,26 @@ ob_start(); ?>
212
  border-radius: 25px;
213
  line-height: 1.4;
214
  box-shadow: 0 1px 1px 0 hsla(0, 0%, 0%, 0.1);
215
- font-size: <?php if (isset($login_page['login_msg_fontsize'])) {
216
- echo esc_attr($login_page['login_msg_fontsize']);
217
- } else {
218
- echo 16;
219
- } ?>px !important;
 
 
 
 
220
  text-align: center;
221
  font-weight: 500;
222
- color: <?php if (isset($login_page['login_msg_font_color'])) {
223
- echo esc_attr($login_page['login_msg_font_color']);
224
- } else {
225
- echo esc_attr("#000");
226
- } ?> !important;
 
 
 
 
227
  }
228
  <?php
229
  $css .= ob_get_clean();
1
+ <?php
2
  wp_register_style( 'acl-er-login-style', false );
3
  wp_enqueue_style( 'acl-er-login-style' );
4
+ $css = ' ';
5
  ob_start(); ?>
6
 
7
  /* Styles loading for Admin Custome Login */
9
  background: none !important;
10
  }
11
 
12
+ <?php
13
+ if ( $top_page['top_bg_type'] == 'static-background-color' ) {
14
+ ?>
15
+ html body.login {
16
+ background: <?php echo esc_attr( $top_page['top_color'] ); ?>;
17
  }
18
 
19
+ <?php
20
+ } elseif ( $top_page['top_bg_type'] == 'static-background-image' ) {
21
+ ?>
22
+ html body.login {
23
+ <?php
24
+ if ( $top_page['top_cover'] == 'yes' ) {
25
+ ?>
26
+ background: url(<?php echo esc_attr( $top_page['top_image'] ); ?>) no-repeat center center fixed;
27
  -webkit-background-size: cover;
28
  -moz-background-size: cover;
29
  -o-background-size: cover;
30
  background-size: cover;
31
+ <?php
32
+ } else {
33
+ ?>
34
+ background: url(<?php echo esc_attr( $top_page['top_image'] ); ?>) <?php echo esc_attr( $top_page['top_repeat'] ); ?> <?php echo esc_attr( $top_page['top_position'] ); ?> !important;
35
  background-size: auto !important;
36
  <?php } ?>
37
  }
38
 
39
+ <?php
40
+ } elseif ( $top_page['top_bg_type'] == 'slider-background' ) {
41
+ ?>
42
+ html body.login {
43
  background: #000;
44
  }
45
 
46
+ <?php
47
+ }
48
+ if ( isset( $logo_page['logo_show'] ) && ( $logo_page['logo_show'] == 'no' ) ) {
49
+ ?>
50
+ body.login div#login>h1 {
51
  display: none;
52
  }
53
 
54
+ <?php
55
  } else {
56
+ ?>
57
 
58
  /* Styles for logo image */
59
  body.login div#login h1 a {
60
+ background-image: url(<?php echo esc_url( $logo_page['logo_image'] ); ?>) !important;
61
  padding-bottom: 30px;
62
+ <?php
63
+ if ( $login_form_float == 'center' ) {
64
+ ?>
65
+ margin: 0 auto;
66
+ <?php } ?>
67
+ <?php
68
+ if ( $login_form_float == 'left' ) {
69
+ ?>
70
+ margin-left: 30px;
71
+ <?php } ?>
72
+ <?php
73
+ if ( $login_form_float == 'right' ) {
74
+ ?>
75
+ margin-right: 25px;
76
+ <?php } ?>background-size: <?php echo esc_attr( $logo_page['logo_width'] ); ?>px <?php echo esc_attr( $logo_page['logo_height'] ); ?>px;
77
+ width: <?php echo esc_attr( $logo_page['logo_width'] ); ?>px;
78
+ height: <?php echo esc_attr( $logo_page['logo_height'] ); ?>px;
79
  }
80
 
81
+ <?php
82
  }
83
+ if ( $login_form_position == 'lf_float_style' ) {
84
+
85
+ ?>
86
+ #login {
87
+ float: <?php echo esc_attr( $login_form_float ); ?> !important;
88
  position: relative !important;
89
+ <?php
90
+ if ( $login_form_float == 'left' ) {
91
+ ?>
92
+ padding-left: 25px !important;
93
  <?php } ?>
94
+ <?php
95
+ if ( $login_form_float == 'right' ) {
96
+ ?>
97
+ padding-right: 25px !important;
98
+ <?php } ?>
99
  }
100
 
101
+ <?php } ?>
102
+ <?php
103
+ if ( $login_form_position == 'lf_customize_style' ) {
104
+ ?>
105
+ #login {
106
  position: relative !important;
107
+ <?php
108
+ if ( $login_page['login_form_left'] !== '' ) {
109
+ ?>
110
+ margin-left: <?php echo esc_attr( $login_page['login_form_left'] ); ?>px !important;
111
+ <?php } ?>
112
+ <?php
113
+ if ( $login_page['login_form_top'] !== '' ) {
114
+ ?>
115
+ padding-top: <?php echo esc_attr( $login_page['login_form_top'] ); ?>px !important;
116
+ <?php } ?>
117
  }
118
 
119
+ <?php } ?>body.login #login {
120
+ width: <?php echo esc_attr( $login_page['login_form_width'] ); ?>px;
121
  }
122
 
123
  .language-switcher {
124
+ display: <?php echo esc_attr( $login_enable_language_switcher ); ?>
125
  }
126
 
127
  .login form#loginform {
128
+ border-radius: <?php echo esc_attr( $login_page['login_form_radius'] ); ?>px;
129
+ border: <?php echo esc_attr( $login_page['login_border_thikness'] ); ?>px <?php echo esc_attr( $login_page['login_border_style'] ); ?> <?php echo esc_attr( $login_page['login_border_color'] ); ?> !important;
130
+ -moz-box-shadow: <?php echo esc_attr( $login_shadow_color ); ?>;
131
+ -webkit-box-shadow: <?php echo esc_attr( $login_shadow_color ); ?>;
132
+ box-shadow: <?php echo esc_attr( $login_shadow_color ); ?> !important;
133
+ <?php
134
+ if ( $Social_page['enable_social_icon'] == 'inner' || $Social_page['enable_social_icon'] == 'both' ) {
135
+ ?>
136
+ padding: 26px 24px 8px;
137
  <?php } ?>position: relative;
138
  z-index: 1;
139
  /* for ie */
140
+ background-color: rgb(<?php echo esc_attr( $loginbg['red'] ); ?>, <?php echo esc_attr( $loginbg['green'] ); ?>, <?php echo esc_attr( $loginbg['blue'] ); ?>) !important;
141
+ background: url(<?php echo esc_attr( $login_page['login_bg_image'] ); ?>) <?php echo esc_attr( $login_page['login_bg_repeat'] ); ?> <?php echo esc_attr( $login_page['login_bg_position'] ); ?>;
142
+ background: rgba(<?php echo esc_attr( $loginbg['red'] ); ?>, <?php echo esc_attr( $loginbg['green'] ); ?>, <?php echo esc_attr( $loginbg['blue'] ); ?>, <?php echo esc_attr( $login_form_opacity ); ?>) !important;
143
+ <?php
144
+ if ( $login_page['login_bg_type'] == 'static-background-image' ) {
145
+ ?>
146
+ background: url('<?php echo esc_url( WEBLIZAR_NALF_PLUGIN_URL . 'css/img/' . $login_page['login_bg_effect'] . '.png' ); ?>') repeat scroll left top, url(<?php echo esc_attr( $login_page['login_bg_image'] ); ?>) <?php echo esc_attr( $login_page['login_bg_repeat'] ); ?> <?php echo esc_attr( $login_page['login_bg_position'] ); ?> !important;
147
  <?php } ?>
148
  }
149
 
150
  .icon-ph {
151
+ color: <?php echo esc_attr( $text_and_color_page['input_font_color'] ); ?>;
152
  }
153
 
154
  body.login div#login form p label,
157
  body.login div#login form .user-pass-wrap,
158
  body.login div#login form #forgetmenot_input,
159
  body.login div#login form #submit_input {
160
+ color: <?php echo esc_attr( $text_and_color_page['heading_font_color'] ); ?> !important;
161
+ font-size: <?php echo esc_attr( $text_and_color_page['heading_font_size'] ); ?>px !important;
162
+ font-family: <?php echo esc_attr( $text_and_color_page['heading_font_style'] ); ?> !important;
163
  }
164
 
165
  #reg_passmail {
166
+ color: <?php echo esc_attr( $text_and_color_page['heading_font_color'] ); ?> !important;
167
+ font-size: <?php echo esc_attr( $text_and_color_page['heading_font_size'] ); ?>px !important;
168
+ font-family: <?php echo esc_attr( $text_and_color_page['heading_font_style'] ); ?> !important;
169
  }
170
 
171
  body.login #loginform p.submit .button-primary,
172
  body.wp-core-ui .button-primary {
173
+ background: <?php echo esc_attr( $text_and_color_page['button_color'] ); ?>;
174
+ color: <?php echo esc_attr( $text_and_color_page['login_button_font_color'] ); ?> !important;
175
+ font-size: <?php echo esc_attr( $text_and_color_page['button_font_size'] ); ?>px;
176
  border: none !important;
177
+ text-shadow: <?php echo esc_attr( $link_shadow_color ); ?>;
178
+ font-family: <?php echo esc_attr( $text_and_color_page['button_font_style'] ); ?>;
179
  }
180
 
181
  body.login #loginform p.submit .button-primary:hover,
182
  body.login #loginform p.submit .button-primary:focus,
183
  body.wp-core-ui .button-primary:hover {
184
+ background: rgba(<?php echo esc_attr( $btnrgba['red'] ); ?>, <?php echo esc_attr( $btnrgba['green'] ); ?>, <?php echo esc_attr( $btnrgba['blue'] ); ?>, 0.9) ;
185
+ /*color: rgba(<?php echo esc_attr( $btnrgba['red'] ); ?>,<?php echo esc_attr( $btnrgba['green'] ); ?>,<?php echo esc_attr( $btnrgba['blue'] ); ?>, 0.9) !important;*/
186
  }
187
 
188
  body.login div#login form .input,
189
  .login input[type="text"] {
190
+ color: <?php echo esc_attr( $text_and_color_page['input_font_color'] ); ?>;
191
+ font-size: <?php echo esc_attr( $text_and_color_page['input_font_size'] ); ?>px;
192
+ font-family: <?php echo esc_attr( $text_and_color_page['input_font_style'] ); ?>;
193
  -webkit-box-shadow: 0 0 0px 1000px white inset;
194
+ -webkit-text-fill-color: <?php echo esc_attr( $text_and_color_page['input_font_color'] ); ?> !important;
195
  }
196
 
197
  p.message.register {
199
  }
200
 
201
  <?php
202
+ if ( isset( $text_and_color_page['show_remember_me_field'] ) && ( $text_and_color_page['show_remember_me_field'] == 'no' ) ) {
203
+ ?>
204
+ p.forgetmenot {
205
  display: none;
206
  }
207
 
208
+ <?php } ?>
209
+ <?php
210
+ if ( isset( $text_and_color_page['show_back_to_site_link'] ) && ( $text_and_color_page['show_back_to_site_link'] == 'no' ) ) {
211
+ ?>
212
+ p#backtoblog>a {
213
  display: none;
214
  }
215
 
216
+ <?php } ?>
217
+ <?php
218
+ if ( isset( $text_and_color_page['show_copyright_link_text'] ) && ( $text_and_color_page['show_copyright_link_text'] == 'no' ) ) {
219
+ ?>
220
+ .divfooter {
221
  display: none;
222
  }
223
 
224
+ <?php } ?>body.login #nav a,
225
  body.login #backtoblog a {
226
+ color: <?php echo esc_attr( $text_and_color_page['link_color'] ); ?> !important;
227
+ font-family: <?php echo esc_attr( $text_and_color_page['link_font_style'] ); ?> !important;
228
+ font-size: <?php echo esc_attr( $text_and_color_page['link_size'] ); ?>px !important;
229
  }
230
 
231
  body.login #nav,
232
  body.login #backtoblog {
233
+ text-shadow: <?php echo esc_attr( $link_shadow_color ); ?>;
234
  }
235
 
236
+ <?php
237
+ if ( $login_form_float == 'right' ) {
238
+ ?>
239
+ .login #nav {
240
  margin: 29px 0 60px;
241
  }
242
 
257
 
258
  .divfooter a,
259
  body.login #backtoblog .divfooter {
260
+ color: <?php echo esc_attr( isset( $login_page['login_tagline_text_color'] ) ? $login_page['login_tagline_text_color'] : '#ffffff' ); ?> !important;
261
  text-shadow: none;
262
  }
263
 
264
  .divfooter a,
265
  body.login #backtoblog .divfooter a {
266
+ color: <?php echo esc_attr( isset( $login_page['login_tagline_link_color'] ) ? $login_page['login_tagline_link_color'] : '#f00' ); ?> !important;
267
  text-shadow: none;
268
  }
269
 
275
  border-radius: 25px;
276
  line-height: 1.4;
277
  box-shadow: 0 1px 1px 0 hsla(0, 0%, 0%, 0.1);
278
+ font-size:
279
+ <?php
280
+ if ( isset( $login_page['login_msg_fontsize'] ) ) {
281
+ echo esc_attr( $login_page['login_msg_fontsize'] );
282
+ } else {
283
+ echo 16;
284
+ }
285
+ ?>
286
+ px !important;
287
  text-align: center;
288
  font-weight: 500;
289
+ color:
290
+ <?php
291
+ if ( isset( $login_page['login_msg_font_color'] ) ) {
292
+ echo esc_attr( $login_page['login_msg_font_color'] );
293
+ } else {
294
+ echo esc_attr( '#000' );
295
+ }
296
+ ?>
297
+ !important;
298
  }
299
  <?php
300
  $css .= ob_get_clean();
includes/settings/page-settings.php CHANGED
@@ -189,8 +189,8 @@ if(isset($_POST['Action'])) {
189
  $logo_show = sanitize_text_field($_POST['logo_show']);
190
  $logo_width = sanitize_text_field($_POST['logo_width']);
191
  $logo_height = sanitize_text_field($_POST['logo_height']);
192
- $logo_url = esc_url($_POST['logo_url']);
193
- $logo_url_title = sanitize_text_field($_POST['logo_url_title']);
194
 
195
  // save values in option table
196
  $logo_page = serialize(array(
189
  $logo_show = sanitize_text_field($_POST['logo_show']);
190
  $logo_width = sanitize_text_field($_POST['logo_width']);
191
  $logo_height = sanitize_text_field($_POST['logo_height']);
192
+ $logo_url = sanitize_url($_POST['logo_url']);
193
+ $logo_url_title = sanitize_title($_POST['logo_url_title']);
194
 
195
  // save values in option table
196
  $logo_page = serialize(array(
init.php CHANGED
@@ -79,8 +79,6 @@ function acl_weblizar_admin_custom_login_menu()
79
  add_action('admin_print_styles-' . $wl_admin_menu, 'acl_admin_custom_login_css');
80
  $acl_menu = add_submenu_page('admin_custom_login', esc_html__('Settings', WEBLIZAR_ACL), esc_html__('Settings', WEBLIZAR_ACL), 'administrator', 'admin_custom_login', 'acl_admin_custom_login_content');
81
  add_action('admin_print_styles-' . $acl_menu, 'acl_admin_custom_login_css');
82
- $acl_menu = add_submenu_page('admin_custom_login', esc_html__('Get Pro', WEBLIZAR_ACL), esc_html__('Get Pro', WEBLIZAR_ACL), 'administrator', 'admin-custom-login-main-menu', array( 'WL_ACL_FREE_Menu', 'admin_menu' ));
83
- add_action('admin_print_styles-' . $acl_menu, array( 'WL_ACL_FREE_Menu', 'admin_menu_assets' ));
84
  }
85
  }
86
  /** load CSS Files only With Admin Custom Login Menu Page **/
@@ -327,7 +325,7 @@ function acl_footer_func()
327
  $edit_tagline_msg = " ";
328
  }
329
  ?>
330
- jQuery( "#backtoblog" ).append('<div class="divfooter"><?php echo html_entity_decode($edit_tagline_msg);?></div>');
331
  });
332
 
333
  <?php
@@ -733,7 +731,7 @@ function acl_export_settings()
733
  header('Content-Disposition: attachment; filename=acl-settings-export-' . date('m-d-Y') . '.json');
734
  header("Expires: 0");
735
 
736
- echo json_encode($ACL_ALL_Settings);
737
  exit;
738
  }
739
  add_action('admin_init', 'acl_export_settings');
79
  add_action('admin_print_styles-' . $wl_admin_menu, 'acl_admin_custom_login_css');
80
  $acl_menu = add_submenu_page('admin_custom_login', esc_html__('Settings', WEBLIZAR_ACL), esc_html__('Settings', WEBLIZAR_ACL), 'administrator', 'admin_custom_login', 'acl_admin_custom_login_content');
81
  add_action('admin_print_styles-' . $acl_menu, 'acl_admin_custom_login_css');
 
 
82
  }
83
  }
84
  /** load CSS Files only With Admin Custom Login Menu Page **/
325
  $edit_tagline_msg = " ";
326
  }
327
  ?>
328
+ jQuery( "#backtoblog" ).append('<div class="divfooter"><?php echo esc_html($edit_tagline_msg);?></div>');
329
  });
330
 
331
  <?php
731
  header('Content-Disposition: attachment; filename=acl-settings-export-' . date('m-d-Y') . '.json');
732
  header("Expires: 0");
733
 
734
+ echo json_encode(esc_attr($ACL_ALL_Settings));
735
  exit;
736
  }
737
  add_action('admin_init', 'acl_export_settings');
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
3
  Donate link: https://www.weblizar.com/
4
  Tags: admin login page, custom login page, custom admin login, custom login, customize wordpress login page, design wordpress login
5
  Requires at least: 4.0
6
- Tested up to: 5.9.3
7
- Stable tag: 3.3.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -23,21 +23,21 @@ Guys please send us your login screenshots at `lizarweb[at]gmail[dot]com`.
23
  ### Admin Custom Login Standard Features
24
 
25
  * Add Your Own Custom Logo On Login Form
26
- * Background Colour
27
  * Background Image
28
  * Background Image Slide Show
29
  * Login Form Position
30
- * Login Form Colour
31
- * Login Form Colour Opacity
32
- * Login Form Font Colour
33
  * Login Form Font Size
34
- * Login Form Button Colour
35
  * Login Form Button Size
36
  * Login Form Background
37
  * Google reCaptcha
38
  * Redirect Users like (All Subscribers, Editors, Authors and Contributors) on Custom URL After Login
39
  * Add Social Media Icons On Login Form
40
- * Social Media Icon Colour
41
  * Social Media Icon Size
42
  * Interactive Plugin Dashboard
43
  * Customize Login Form Positions
@@ -66,7 +66,7 @@ Guys please send us your login screenshots at `lizarweb[at]gmail[dot]com`.
66
 
67
  * **Google Font Integrated:** -Plugin is integrated with 500+ google fonts. So add beautiful font styles fro you form panel.
68
 
69
- * **Unlimited Colour Scheme:** -Theere you able update plugin design with unlimited colours. Colour option is available for both login form panel and background
70
 
71
  #### Admin Custom Login Demo
72
 
@@ -189,17 +189,18 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-c
189
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
- 3.3.7 = [26-03-2022]
193
- * Code standardize
194
- * unused code removed
195
- * Reviewer issues are fixed.
196
-
197
 
198
- 3.3.6 = [21-03-2022]
199
  * Removed: default value of credit message.
200
  * Removed: custom css option.
 
 
201
  * Removed: dashboard Banner and background image.
202
  * Fixed: Admin custom login status option.
 
 
203
 
204
  3.3.5 = [1-03-2022]
205
  * fixed: user can override the login page style.
3
  Donate link: https://www.weblizar.com/
4
  Tags: admin login page, custom login page, custom admin login, custom login, customize wordpress login page, design wordpress login
5
  Requires at least: 4.0
6
+ Tested up to: 5.9
7
+ Stable tag: 3.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
23
  ### Admin Custom Login Standard Features
24
 
25
  * Add Your Own Custom Logo On Login Form
26
+ * Background Color
27
  * Background Image
28
  * Background Image Slide Show
29
  * Login Form Position
30
+ * Login Form color
31
+ * Login Form color Opacity
32
+ * Login Form Font color
33
  * Login Form Font Size
34
+ * Login Form Button color
35
  * Login Form Button Size
36
  * Login Form Background
37
  * Google reCaptcha
38
  * Redirect Users like (All Subscribers, Editors, Authors and Contributors) on Custom URL After Login
39
  * Add Social Media Icons On Login Form
40
+ * Social Media Icon color
41
  * Social Media Icon Size
42
  * Interactive Plugin Dashboard
43
  * Customize Login Form Positions
66
 
67
  * **Google Font Integrated:** -Plugin is integrated with 500+ google fonts. So add beautiful font styles fro you form panel.
68
 
69
+ * **Unlimited color Scheme:** -Theere you able update plugin design with unlimited colours. color option is available for both login form panel and background
70
 
71
  #### Admin Custom Login Demo
72
 
189
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
+ 3.3.8 = [03-05-2022]
193
+ * fixed: sanitization and data output escaping.
 
 
 
194
 
195
+ 3.3.7 = [28-04-2022]
196
  * Removed: default value of credit message.
197
  * Removed: custom css option.
198
+
199
+ 3.3.6 = [20-04-2022]
200
  * Removed: dashboard Banner and background image.
201
  * Fixed: Admin custom login status option.
202
+ * Fixed: output escaping issues.
203
+ * Fixed: inline css issue.
204
 
205
  3.3.5 = [1-03-2022]
206
  * fixed: user can override the login page style.