Admin Custom Login - Version 2.9.7

Version Description

Download this release

Release Info

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

Code changes from version 2.9.6 to 2.9.7

admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 2.9.6
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/
@@ -43,8 +43,8 @@ function ACL_WeblizarDoInstallation() {
43
 
44
  /*** Add settings link on plugin page ***/
45
  function acl_links($links) {
46
- $acl_pro_link = '<a href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_blank">Go Pro</a>';
47
- $acl_settings_link = '<a href="admin.php?page=admin_custom_login">Settings</a>';
48
  array_unshift($links, $acl_settings_link);
49
  array_unshift($links, $acl_pro_link);
50
  return $links;
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 2.9.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/
43
 
44
  /*** Add settings link on plugin page ***/
45
  function acl_links($links) {
46
+ $acl_pro_link = '<a href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_blank">'. esc_html__('Go Pro', WEBLIZAR_ACL) .'</a>';
47
+ $acl_settings_link = '<a href="admin.php?page=admin_custom_login">'. esc_html__('Settings', WEBLIZAR_ACL) .'</a>';
48
  array_unshift($links, $acl_settings_link);
49
  array_unshift($links, $acl_pro_link);
50
  return $links;
css/slider-style1.php CHANGED
@@ -44,10 +44,10 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
44
  }
45
 
46
  .cb-slideshow li:nth-child(1) span {
47
- background-image: url('<?php echo esc_attr($Slidshow_image_1) ; ?>');
48
  }
49
  .cb-slideshow li:nth-child(2) span {
50
- background-image: url('<?php echo esc_attr($Slidshow_image_2) ; ?>');
51
  -webkit-animation-delay: 6s;
52
  -moz-animation-delay: 6s;
53
  -o-animation-delay: 6s;
@@ -55,7 +55,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
55
  animation-delay: 6s;
56
  }
57
  .cb-slideshow li:nth-child(3) span {
58
- background-image: url('<?php echo esc_attr($Slidshow_image_3) ; ?>');
59
  -webkit-animation-delay: 12s;
60
  -moz-animation-delay: 12s;
61
  -o-animation-delay: 12s;
@@ -63,7 +63,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
63
  animation-delay: 12s;
64
  }
65
  .cb-slideshow li:nth-child(4) span {
66
- background-image: url('<?php echo esc_attr($Slidshow_image_4) ; ?>');
67
  -webkit-animation-delay: 18s;
68
  -moz-animation-delay: 18s;
69
  -o-animation-delay: 18s;
@@ -71,7 +71,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
71
  animation-delay: 18s;
72
  }
73
  .cb-slideshow li:nth-child(5) span {
74
- background-image: url('<?php echo esc_attr($Slidshow_image_5) ; ?>');
75
  -webkit-animation-delay: 24s;
76
  -moz-animation-delay: 24s;
77
  -o-animation-delay: 24s;
@@ -79,7 +79,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
79
  animation-delay: 24s;
80
  }
81
  .cb-slideshow li:nth-child(6) span {
82
- background-image: url('<?php echo esc_attr($Slidshow_image_6) ; ?>');
83
  -webkit-animation-delay: 30s;
84
  -moz-animation-delay: 30s;
85
  -o-animation-delay: 30s;
44
  }
45
 
46
  .cb-slideshow li:nth-child(1) span {
47
+ background-image: url('<?php echo esc_url($Slidshow_image_1) ; ?>');
48
  }
49
  .cb-slideshow li:nth-child(2) span {
50
+ background-image: url('<?php echo esc_url($Slidshow_image_2) ; ?>');
51
  -webkit-animation-delay: 6s;
52
  -moz-animation-delay: 6s;
53
  -o-animation-delay: 6s;
55
  animation-delay: 6s;
56
  }
57
  .cb-slideshow li:nth-child(3) span {
58
+ background-image: url('<?php echo esc_url($Slidshow_image_3) ; ?>');
59
  -webkit-animation-delay: 12s;
60
  -moz-animation-delay: 12s;
61
  -o-animation-delay: 12s;
63
  animation-delay: 12s;
64
  }
65
  .cb-slideshow li:nth-child(4) span {
66
+ background-image: url('<?php echo esc_url($Slidshow_image_4) ; ?>');
67
  -webkit-animation-delay: 18s;
68
  -moz-animation-delay: 18s;
69
  -o-animation-delay: 18s;
71
  animation-delay: 18s;
72
  }
73
  .cb-slideshow li:nth-child(5) span {
74
+ background-image: url('<?php echo esc_url($Slidshow_image_5) ; ?>');
75
  -webkit-animation-delay: 24s;
76
  -moz-animation-delay: 24s;
77
  -o-animation-delay: 24s;
79
  animation-delay: 24s;
80
  }
81
  .cb-slideshow li:nth-child(6) span {
82
+ background-image: url('<?php echo esc_url($Slidshow_image_6) ; ?>');
83
  -webkit-animation-delay: 30s;
84
  -moz-animation-delay: 30s;
85
  -o-animation-delay: 30s;
css/slider-style2.php CHANGED
@@ -43,9 +43,9 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
43
  }
44
 
45
 
46
- .cb-slideshow li:nth-child(1) span { background-image: url('<?php echo esc_attr($Slidshow_image_1) ; ?>') }
47
  .cb-slideshow li:nth-child(2) span {
48
- background-image: url('<?php echo esc_attr($Slidshow_image_2) ; ?>');
49
  -webkit-animation-delay: 6s;
50
  -moz-animation-delay: 6s;
51
  -o-animation-delay: 6s;
@@ -53,7 +53,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
53
  animation-delay: 6s;
54
  }
55
  .cb-slideshow li:nth-child(3) span {
56
- background-image: url('<?php echo esc_attr($Slidshow_image_3) ; ?>');
57
  -webkit-animation-delay: 12s;
58
  -moz-animation-delay: 12s;
59
  -o-animation-delay: 12s;
@@ -61,7 +61,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
61
  animation-delay: 12s;
62
  }
63
  .cb-slideshow li:nth-child(4) span {
64
- background-image: url('<?php echo esc_attr($Slidshow_image_4) ; ?>');
65
  -webkit-animation-delay: 18s;
66
  -moz-animation-delay: 18s;
67
  -o-animation-delay: 18s;
@@ -69,7 +69,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
69
  animation-delay: 18s;
70
  }
71
  .cb-slideshow li:nth-child(5) span {
72
- background-image: url('<?php echo esc_attr($Slidshow_image_5) ; ?>');
73
  -webkit-animation-delay: 24s;
74
  -moz-animation-delay: 24s;
75
  -o-animation-delay: 24s;
@@ -77,7 +77,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
77
  animation-delay: 24s;
78
  }
79
  .cb-slideshow li:nth-child(6) span {
80
- background-image: url('<?php echo esc_attr($Slidshow_image_6) ; ?>');
81
  -webkit-animation-delay: 30s;
82
  -moz-animation-delay: 30s;
83
  -o-animation-delay: 30s;
43
  }
44
 
45
 
46
+ .cb-slideshow li:nth-child(1) span { background-image: url('<?php echo esc_url($Slidshow_image_1) ; ?>') }
47
  .cb-slideshow li:nth-child(2) span {
48
+ background-image: url('<?php echo esc_url($Slidshow_image_2) ; ?>');
49
  -webkit-animation-delay: 6s;
50
  -moz-animation-delay: 6s;
51
  -o-animation-delay: 6s;
53
  animation-delay: 6s;
54
  }
55
  .cb-slideshow li:nth-child(3) span {
56
+ background-image: url('<?php echo esc_url($Slidshow_image_3) ; ?>');
57
  -webkit-animation-delay: 12s;
58
  -moz-animation-delay: 12s;
59
  -o-animation-delay: 12s;
61
  animation-delay: 12s;
62
  }
63
  .cb-slideshow li:nth-child(4) span {
64
+ background-image: url('<?php echo esc_url($Slidshow_image_4) ; ?>');
65
  -webkit-animation-delay: 18s;
66
  -moz-animation-delay: 18s;
67
  -o-animation-delay: 18s;
69
  animation-delay: 18s;
70
  }
71
  .cb-slideshow li:nth-child(5) span {
72
+ background-image: url('<?php echo esc_url($Slidshow_image_5) ; ?>');
73
  -webkit-animation-delay: 24s;
74
  -moz-animation-delay: 24s;
75
  -o-animation-delay: 24s;
77
  animation-delay: 24s;
78
  }
79
  .cb-slideshow li:nth-child(6) span {
80
+ background-image: url('<?php echo esc_url($Slidshow_image_6) ; ?>');
81
  -webkit-animation-delay: 30s;
82
  -moz-animation-delay: 30s;
83
  -o-animation-delay: 30s;
css/slider-style3.php CHANGED
@@ -41,9 +41,9 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
41
  animation: imageAnimation <?php echo esc_attr($seconds); ?>s linear infinite 0s;
42
  }
43
 
44
- .cb-slideshow li:nth-child(1) span { background-image: url('<?php echo esc_attr($Slidshow_image_1) ; ?>') }
45
  .cb-slideshow li:nth-child(2) span {
46
- background-image: url('<?php echo esc_attr($Slidshow_image_2) ; ?>');
47
  -webkit-animation-delay: 6s;
48
  -moz-animation-delay: 6s;
49
  -o-animation-delay: 6s;
@@ -51,7 +51,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
51
  animation-delay: 6s;
52
  }
53
  .cb-slideshow li:nth-child(3) span {
54
- background-image: url('<?php echo esc_attr($Slidshow_image_3) ; ?>');
55
  -webkit-animation-delay: 12s;
56
  -moz-animation-delay: 12s;
57
  -o-animation-delay: 12s;
@@ -59,7 +59,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
59
  animation-delay: 12s;
60
  }
61
  .cb-slideshow li:nth-child(4) span {
62
- background-image: url('<?php echo esc_attr($Slidshow_image_4) ; ?>');
63
  -webkit-animation-delay: 18s;
64
  -moz-animation-delay: 18s;
65
  -o-animation-delay: 18s;
@@ -67,7 +67,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
67
  animation-delay: 18s;
68
  }
69
  .cb-slideshow li:nth-child(5) span {
70
- background-image: url('<?php echo esc_attr($Slidshow_image_5) ; ?>');
71
  -webkit-animation-delay: 24s;
72
  -moz-animation-delay: 24s;
73
  -o-animation-delay: 24s;
@@ -75,7 +75,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
75
  animation-delay: 24s;
76
  }
77
  .cb-slideshow li:nth-child(6) span {
78
- background-image: url('<?php echo esc_attr($Slidshow_image_6) ; ?>');
79
  -webkit-animation-delay: 30s;
80
  -moz-animation-delay: 30s;
81
  -o-animation-delay: 30s;
41
  animation: imageAnimation <?php echo esc_attr($seconds); ?>s linear infinite 0s;
42
  }
43
 
44
+ .cb-slideshow li:nth-child(1) span { background-image: url('<?php echo esc_url($Slidshow_image_1) ; ?>') }
45
  .cb-slideshow li:nth-child(2) span {
46
+ background-image: url('<?php echo esc_url($Slidshow_image_2) ; ?>');
47
  -webkit-animation-delay: 6s;
48
  -moz-animation-delay: 6s;
49
  -o-animation-delay: 6s;
51
  animation-delay: 6s;
52
  }
53
  .cb-slideshow li:nth-child(3) span {
54
+ background-image: url('<?php echo esc_url($Slidshow_image_3) ; ?>');
55
  -webkit-animation-delay: 12s;
56
  -moz-animation-delay: 12s;
57
  -o-animation-delay: 12s;
59
  animation-delay: 12s;
60
  }
61
  .cb-slideshow li:nth-child(4) span {
62
+ background-image: url('<?php echo esc_url($Slidshow_image_4) ; ?>');
63
  -webkit-animation-delay: 18s;
64
  -moz-animation-delay: 18s;
65
  -o-animation-delay: 18s;
67
  animation-delay: 18s;
68
  }
69
  .cb-slideshow li:nth-child(5) span {
70
+ background-image: url('<?php echo esc_url($Slidshow_image_5) ; ?>');
71
  -webkit-animation-delay: 24s;
72
  -moz-animation-delay: 24s;
73
  -o-animation-delay: 24s;
75
  animation-delay: 24s;
76
  }
77
  .cb-slideshow li:nth-child(6) span {
78
+ background-image: url('<?php echo esc_url($Slidshow_image_6) ; ?>');
79
  -webkit-animation-delay: 30s;
80
  -moz-animation-delay: 30s;
81
  -o-animation-delay: 30s;
css/slider-style4.php CHANGED
@@ -42,9 +42,9 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
42
  animation: imageAnimation <?php echo esc_attr($seconds); ?>s linear infinite 0s;
43
  }
44
 
45
- .cb-slideshow li:nth-child(1) span { background-image: url('<?php echo esc_attr($Slidshow_image_1) ; ?>') }
46
  .cb-slideshow li:nth-child(2) span {
47
- background-image: url('<?php echo esc_attr($Slidshow_image_2) ; ?>');
48
  -webkit-animation-delay: 6s;
49
  -moz-animation-delay: 6s;
50
  -o-animation-delay: 6s;
@@ -52,7 +52,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
52
  animation-delay: 6s;
53
  }
54
  .cb-slideshow li:nth-child(3) span {
55
- background-image: url('<?php echo esc_attr($Slidshow_image_3) ; ?>');
56
  -webkit-animation-delay: 12s;
57
  -moz-animation-delay: 12s;
58
  -o-animation-delay: 12s;
@@ -60,7 +60,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
60
  animation-delay: 12s;
61
  }
62
  .cb-slideshow li:nth-child(4) span {
63
- background-image: url('<?php echo esc_attr($Slidshow_image_4) ; ?>');
64
  -webkit-animation-delay: 18s;
65
  -moz-animation-delay: 18s;
66
  -o-animation-delay: 18s;
@@ -68,7 +68,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
68
  animation-delay: 18s;
69
  }
70
  .cb-slideshow li:nth-child(5) span {
71
- background-image: url('<?php echo esc_attr($Slidshow_image_5) ; ?>');
72
  -webkit-animation-delay: 24s;
73
  -moz-animation-delay: 24s;
74
  -o-animation-delay: 24s;
@@ -76,7 +76,7 @@ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
76
  animation-delay: 24s;
77
  }
78
  .cb-slideshow li:nth-child(6) span {
79
- background-image: url('<?php echo esc_attr($Slidshow_image_6) ; ?>');
80
  -webkit-animation-delay: 30s;
81
  -moz-animation-delay: 30s;
82
  -o-animation-delay: 30s;
42
  animation: imageAnimation <?php echo esc_attr($seconds); ?>s linear infinite 0s;
43
  }
44
 
45
+ .cb-slideshow li:nth-child(1) span { background-image: url('<?php echo esc_url($Slidshow_image_1) ; ?>') }
46
  .cb-slideshow li:nth-child(2) span {
47
+ background-image: url('<?php echo esc_url($Slidshow_image_2) ; ?>');
48
  -webkit-animation-delay: 6s;
49
  -moz-animation-delay: 6s;
50
  -o-animation-delay: 6s;
52
  animation-delay: 6s;
53
  }
54
  .cb-slideshow li:nth-child(3) span {
55
+ background-image: url('<?php echo esc_url($Slidshow_image_3) ; ?>');
56
  -webkit-animation-delay: 12s;
57
  -moz-animation-delay: 12s;
58
  -o-animation-delay: 12s;
60
  animation-delay: 12s;
61
  }
62
  .cb-slideshow li:nth-child(4) span {
63
+ background-image: url('<?php echo esc_url($Slidshow_image_4) ; ?>');
64
  -webkit-animation-delay: 18s;
65
  -moz-animation-delay: 18s;
66
  -o-animation-delay: 18s;
68
  animation-delay: 18s;
69
  }
70
  .cb-slideshow li:nth-child(5) span {
71
+ background-image: url('<?php echo esc_url($Slidshow_image_5) ; ?>');
72
  -webkit-animation-delay: 24s;
73
  -moz-animation-delay: 24s;
74
  -o-animation-delay: 24s;
76
  animation-delay: 24s;
77
  }
78
  .cb-slideshow li:nth-child(6) span {
79
+ background-image: url('<?php echo esc_url($Slidshow_image_6) ; ?>');
80
  -webkit-animation-delay: 30s;
81
  -moz-animation-delay: 30s;
82
  -o-animation-delay: 30s;
css/smartech.css CHANGED
@@ -2321,3 +2321,6 @@ div#div-login-bg-color {
2321
  border: 1px solid transparent;
2322
  border-radius: 4px;
2323
  }
 
 
 
2321
  border: 1px solid transparent;
2322
  border-radius: 4px;
2323
  }
2324
+ span.input-group-addon.iconpicker-component {
2325
+ transform: translate(-28px, 10px);
2326
+ }
includes/dashboard/dashboard.php CHANGED
@@ -269,7 +269,7 @@ function Acl_show_login_form_Image() {
269
  </script>
270
  <?php
271
  if(isset($_POST['Action'])) {
272
- $Action = $_POST['Action'];
273
 
274
  //Save
275
  if($Action == "dashboardSave") {
269
  </script>
270
  <?php
271
  if(isset($_POST['Action'])) {
272
+ $Action = sanitize_text_field($_POST['Action']);
273
 
274
  //Save
275
  if($Action == "dashboardSave") {
includes/design/background.php CHANGED
@@ -605,7 +605,7 @@ function Custom_login_top(Action, id){
605
  </script>
606
  <?php
607
  if(isset($_POST['Action'])) {
608
- $Action = $_POST['Action'];
609
 
610
  //Save
611
  if($Action == "topbgSave") {
605
  </script>
606
  <?php
607
  if(isset($_POST['Action'])) {
608
+ $Action = sanitize_text_field($_POST['Action']);
609
 
610
  //Save
611
  if($Action == "topbgSave") {
includes/design/text_and_color.php CHANGED
@@ -813,7 +813,7 @@ function Custom_login_text(Action, id){
813
  </script>
814
  <?php
815
  if(isset($_POST['Action'])) {
816
- $Action = $_POST['Action'];
817
  //Save
818
  if($Action == "textandcolorSave"){
819
  $heading_font_color = sanitize_option('heading_font_color', $_POST['heading_font_color']);
813
  </script>
814
  <?php
815
  if(isset($_POST['Action'])) {
816
+ $Action = sanitize_text_field($_POST['Action']);
817
  //Save
818
  if($Action == "textandcolorSave"){
819
  $heading_font_color = sanitize_option('heading_font_color', $_POST['heading_font_color']);
includes/googlecaptcha-settings/gcaptcha-settings.php CHANGED
@@ -355,7 +355,7 @@ function Custom_gcaptcha(Action, id){
355
  </script>
356
  <?php
357
  if(isset($_POST['Action'])) {
358
- $Action = $_POST['Action'];
359
  //Save Page Values
360
  if($Action == "googleSave") {
361
  $site_key = sanitize_text_field($_POST['site_key']);
355
  </script>
356
  <?php
357
  if(isset($_POST['Action'])) {
358
+ $Action = sanitize_text_field($_POST['Action']);
359
  //Save Page Values
360
  if($Action == "googleSave") {
361
  $site_key = sanitize_text_field($_POST['site_key']);
includes/import-export-setting/import_export.php CHANGED
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
17
  <td>
18
  <p><?php esc_html_e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.', WEBLIZAR_ACL ); ?></p>
19
  <form method="post">
20
- <p><input type="hidden" name="acl_action" value="export_settings" /></p>
21
  <p>
22
  <?php wp_nonce_field( 'acl_export_nonce', 'acl_export_nonce' ); ?>
23
  <input type="submit" name="submit" id="submit" class="btn btn-info btn-md" value="<?php esc_attr_e('Export', WEBLIZAR_ACL); ?>" />
@@ -45,7 +45,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
45
  <input type="file" name="import_file"/>
46
  </p>
47
  <p>
48
- <input type="hidden" name="acl_action" value="import_settings" />
49
  <?php wp_nonce_field( 'acl_import_nonce', 'acl_import_nonce' ); ?>
50
  <input type="submit" name="submit" id="submit" class="btn btn-info btn-md" value="<?php esc_attr_e('Import', WEBLIZAR_ACL); ?>" />
51
  </p>
17
  <td>
18
  <p><?php esc_html_e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.', WEBLIZAR_ACL ); ?></p>
19
  <form method="post">
20
+ <p><input type="hidden" name="acl_export_action" value="export_settings" /></p>
21
  <p>
22
  <?php wp_nonce_field( 'acl_export_nonce', 'acl_export_nonce' ); ?>
23
  <input type="submit" name="submit" id="submit" class="btn btn-info btn-md" value="<?php esc_attr_e('Export', WEBLIZAR_ACL); ?>" />
45
  <input type="file" name="import_file"/>
46
  </p>
47
  <p>
48
+ <input type="hidden" name="acl_import_action" value="import_settings" />
49
  <?php wp_nonce_field( 'acl_import_nonce', 'acl_import_nonce' ); ?>
50
  <input type="submit" name="submit" id="submit" class="btn btn-info btn-md" value="<?php esc_attr_e('Import', WEBLIZAR_ACL); ?>" />
51
  </p>
includes/login-form-setting/login-form-background.php CHANGED
@@ -1041,7 +1041,7 @@ function Custom_login_login(Action, id){
1041
  </script>
1042
  <?php
1043
  if(isset($_POST['Action'])){
1044
- $Action = $_POST['Action'];
1045
  //Save
1046
  if($Action == "loginbgSave") {
1047
  $login_form_position = sanitize_option('login_form_position', $_POST['login_form_position']);
1041
  </script>
1042
  <?php
1043
  if(isset($_POST['Action'])){
1044
+ $Action = sanitize_text_field($_POST['Action']);
1045
  //Save
1046
  if($Action == "loginbgSave") {
1047
  $login_form_position = sanitize_option('login_form_position', $_POST['login_form_position']);
includes/offers.php CHANGED
@@ -1,4 +1,5 @@
1
- <!-- Header -->
 
2
  <!-- Themes & Plugin -->
3
  <div class="row">
4
  <div class="post-social-wrapper clearfix">
1
+ <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2
+ <!-- Header -->
3
  <!-- Themes & Plugin -->
4
  <div class="row">
5
  <div class="post-social-wrapper clearfix">
includes/settings/page-settings.php CHANGED
@@ -337,13 +337,13 @@ function Custom_login_logo(Action, id){
337
  </script>
338
  <?php
339
  if(isset($_POST['Action'])) {
340
- $Action = $_POST['Action'];
341
  //Save Page Values
342
  if($Action == "logoSave") {
343
  $logo_image = sanitize_option('logo_image', $_POST['logo_image']);
344
  $logo_width = sanitize_option('logo_width', $_POST['logo_width']);
345
  $logo_height = sanitize_option('logo_height', $_POST['logo_height']);
346
- $logo_url = sanitize_text_field($_POST['logo_url']);
347
  $logo_url_title = sanitize_text_field($_POST['logo_url_title']);
348
 
349
  // save values in option table
337
  </script>
338
  <?php
339
  if(isset($_POST['Action'])) {
340
+ $Action = sanitize_text_field($_POST['Action']);
341
  //Save Page Values
342
  if($Action == "logoSave") {
343
  $logo_image = sanitize_option('logo_image', $_POST['logo_image']);
344
  $logo_width = sanitize_option('logo_width', $_POST['logo_width']);
345
  $logo_height = sanitize_option('logo_height', $_POST['logo_height']);
346
+ $logo_url = esc_url_raw($_POST['logo_url']);
347
  $logo_url_title = sanitize_text_field($_POST['logo_url_title']);
348
 
349
  // save values in option table
init.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  $login_page = unserialize(get_option('Admin_custome_login_login'));
3
  if(isset($login_page['login_redirect_force'])){
4
  $login_redirect_force = $login_page['login_redirect_force'];
@@ -40,7 +41,7 @@ function ACL_login_redirect( $redirect_to, $request, $user ) {
40
  if ( isset( $user->roles ) && is_array( $user->roles ) ) {
41
  /** get and load custom redirect option after user login **/
42
  $login_page = unserialize(get_option('Admin_custome_login_login'));
43
- $login_redirect_user = isset( $login_page['login_redirect_user'] ) ? $login_page['login_redirect_user'] : '';;
44
  /** check for admins **/
45
  if ( in_array( 'administrator', $user->roles ) ) {
46
  // redirect admin to the default place
@@ -208,7 +209,7 @@ function acl_footer_func() {
208
  ?>
209
 
210
  <?php if ($top_page['top_bg_type'] == "slider-background"){ ?>
211
- jQuery('#screen').prepend('<ul class="cb-slideshow"> <li><span>Image 01</span></li> <li><span>Image 02</span></li> <li><span>Image 03</span></li> <li><span>Image 04</span></li> <li><span>Image 05</span></li> <li><span>Image 06</span></li></ul>')
212
  <?php } ?>
213
 
214
  <!--enable Social Icon In inner login form-->
@@ -256,7 +257,7 @@ function acl_admin_custom_login_content(){
256
 
257
  /**** Process a settings export that generates a .json file of the shop settings ***/
258
  function acl_export_settings() {
259
- if( empty( $_POST['acl_action'] ) || 'export_settings' != $_POST['acl_action'] )
260
  return;
261
 
262
  if( ! wp_verify_nonce( $_POST['acl_export_nonce'], 'acl_export_nonce' ) )
@@ -390,7 +391,7 @@ function acl_export_settings() {
390
  $site_key = $g_page['site_key'];
391
  $secret_key = $g_page['secret_key'];
392
  $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
393
- if(isset($g_page['acl_gcaptcha_theme'])){ $acl_gcaptcha_theme = $g_page['acl_gcaptcha_theme']; } else { $acl_gcaptcha_theme = 'light'; }
394
 
395
 
396
  $ACL_ALL_Settings= serialize(array(
@@ -516,7 +517,7 @@ add_action( 'admin_init', 'acl_export_settings' );
516
 
517
  /*** Process a settings import from a json file ***/
518
  function acl_import_settings() {
519
- if( empty( $_POST['acl_action'] ) || 'import_settings' != $_POST['acl_action'] )
520
  return;
521
 
522
  if( ! wp_verify_nonce( $_POST['acl_import_nonce'], 'acl_import_nonce' ) )
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit;
3
  $login_page = unserialize(get_option('Admin_custome_login_login'));
4
  if(isset($login_page['login_redirect_force'])){
5
  $login_redirect_force = $login_page['login_redirect_force'];
41
  if ( isset( $user->roles ) && is_array( $user->roles ) ) {
42
  /** get and load custom redirect option after user login **/
43
  $login_page = unserialize(get_option('Admin_custome_login_login'));
44
+ $login_redirect_user = isset( $login_page['login_redirect_user'] ) ? $login_page['login_redirect_user'] : '';
45
  /** check for admins **/
46
  if ( in_array( 'administrator', $user->roles ) ) {
47
  // redirect admin to the default place
209
  ?>
210
 
211
  <?php if ($top_page['top_bg_type'] == "slider-background"){ ?>
212
+ jQuery('#screen').prepend('<ul class="cb-slideshow"> <li><span><?php esc_html_e('Image 01',WEBLIZAR_ACL); ?></span></li> <li><span><?php esc_html_e('Image 02',WEBLIZAR_ACL); ?></span></li> <li><span><?php esc_html_e('Image 03',WEBLIZAR_ACL); ?></span></li><li><span><?php esc_html_e('Image 04',WEBLIZAR_ACL); ?></span></li> <li><span><?php esc_html_e('Image 05',WEBLIZAR_ACL); ?></span></li> <li><span><?php esc_html_e('Image 06',WEBLIZAR_ACL); ?></span></li></ul>')
213
  <?php } ?>
214
 
215
  <!--enable Social Icon In inner login form-->
257
 
258
  /**** Process a settings export that generates a .json file of the shop settings ***/
259
  function acl_export_settings() {
260
+ if( empty( $_POST['acl_export_action'] ) || 'export_settings' != $_POST['acl_export_action'] )
261
  return;
262
 
263
  if( ! wp_verify_nonce( $_POST['acl_export_nonce'], 'acl_export_nonce' ) )
391
  $site_key = $g_page['site_key'];
392
  $secret_key = $g_page['secret_key'];
393
  $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
394
+ if(isset($g_page['acl_gcaptcha_theme'])){ $acl_gcaptcha_theme = $g_page['acl_gcaptcha_theme']; } else { $acl_gcaptcha_theme = 'light'; }
395
 
396
 
397
  $ACL_ALL_Settings= serialize(array(
517
 
518
  /*** Process a settings import from a json file ***/
519
  function acl_import_settings() {
520
+ if( empty( $_POST['acl_import_action'] ) || 'import_settings' != $_POST['acl_import_action'] )
521
  return;
522
 
523
  if( ! wp_verify_nonce( $_POST['acl_import_nonce'], 'acl_import_nonce' ) )
login-form-screen.php CHANGED
@@ -161,7 +161,7 @@ function acl_er_login_logo() {
161
 
162
  /* Styles for logo image */
163
  body.login div#login h1 a {
164
- background-image: url(<?php echo esc_attr($logo_page['logo_image']); ?>) !important;
165
  padding-bottom: 30px;
166
  <?php if($login_form_float == "center") {?>
167
  margin: 0 auto;
161
 
162
  /* Styles for logo image */
163
  body.login div#login h1 a {
164
+ background-image: url(<?php echo esc_url($logo_page['logo_image']); ?>) !important;
165
  padding-bottom: 30px;
166
  <?php if($login_form_float == "center") {?>
167
  margin: 0 auto;
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.2.3
7
- Stable tag: 2.9.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -167,12 +167,34 @@ If you have any question contact us at here: [Plugin Support Forum ](http://word
167
  11. https://texontowel.com Made by Inn Design
168
  12. Admin Setting Dashboard
169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  == Changelog ==
171
 
172
  For more information, see [Weblizar](http://www.weblizar.com/)
173
 
 
 
 
 
174
 
175
- 2.9.6 = [05-9-2019]
176
  * Updated bootstrap library.
177
  * Added : Jameel Noori Nastaleeq font family.
178
  * some minor issues fixed.
@@ -432,20 +454,4 @@ For more information, see [Weblizar](http://www.weblizar.com/)
432
  * Setting panel icon now visible on first installation.
433
 
434
  = Version 1.0 =
435
- * This is first and basic version of slider plugin.
436
-
437
- = Docs & Support =
438
-
439
- If any support required then post your query in WordPress [Plugin Support Forum ](http://wordpress.org/support/plugin/admin-custom-login)
440
-
441
- = We Need Your Support =
442
-
443
- It is really hard to continue development and support for this free plugin without contributions from users like you. If you are enjoying using our Admin Cusrom Login plugin and find it useful, then please consider to write your positive [__Feedback__](http://wordpress.org/support/view/plugin-reviews/admin-custom-login). Your feedback will help us to encourage and support the plugin's continued development and better user support.
444
-
445
- = Translators =
446
-
447
- Please contribute to translate our plugin. Contact at `lizarweb (at) gmail (dot) com`.
448
-
449
- == Frequently Asked Questions ==
450
-
451
- Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-custom-login) to ask any query regarding any issue.
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.2.4
7
+ Stable tag: 2.9.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
167
  11. https://texontowel.com Made by Inn Design
168
  12. Admin Setting Dashboard
169
 
170
+
171
+ = Docs & Support =
172
+
173
+ If any support required then post your query in WordPress [Plugin Support Forum ](http://wordpress.org/support/plugin/admin-custom-login)
174
+
175
+ = We Need Your Support =
176
+
177
+ It is really hard to continue development and support for this free plugin without contributions from users like you. If you are enjoying using our Admin Cusrom Login plugin and find it useful, then please consider to write your positive [__Feedback__](http://wordpress.org/support/view/plugin-reviews/admin-custom-login). Your feedback will help us to encourage and support the plugin's continued development and better user support.
178
+
179
+ = Translators =
180
+
181
+ Please contribute to translate our plugin. Contact at `lizarweb (at) gmail (dot) com`.
182
+
183
+ == Frequently Asked Questions ==
184
+
185
+ Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-custom-login) to ask any query regarding any issue.
186
+
187
+
188
  == Changelog ==
189
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
+ 2.9.7 = [21-10-2019]
193
+ * version update + Compatible with wordpress 5.2.4
194
+ * updated : some minor changes in files.
195
+ * updated : Security Nonce and permission check.
196
 
197
+ 2.9.6 = [05-9-2019]
198
  * Updated bootstrap library.
199
  * Added : Jameel Noori Nastaleeq font family.
200
  * some minor issues fixed.
454
  * Setting panel icon now visible on first installation.
455
 
456
  = Version 1.0 =
457
+ * This is first and basic version of slider plugin.