Admin Custom Login - Version 3.4.2

Version Description

Download this release

Release Info

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

Code changes from version 3.4.1 to 3.4.2

admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 3.4.1
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/
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 3.4.2
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/
css/acl-custom.css CHANGED
@@ -27,22 +27,23 @@ body.login div#login h1 a,#login_error{
27
  }
28
 
29
  .icon-end {
30
- display: inline-block;
31
- width: 15px;
32
- height: 15px;
33
- min-width: 16px;
34
- padding: 4px 5px;
35
- font-size: 20px;
36
- font-weight: normal;
37
- line-height: 20px;
38
- text-align: center;
39
- text-shadow: 0 1px 0 #ffffff;
40
- background-color: transparent;
41
- position:absolute;
42
- right:6px;
43
- top:5px;
44
- bottom:3px;
45
- z-index:3;
 
46
  }
47
 
48
  .custom-text {
27
  }
28
 
29
  .icon-end {
30
+ display: inline-block;
31
+ width: 15px;
32
+ height: 15px;
33
+ min-width: 16px;
34
+ padding: 4px 5px;
35
+ font-size: 20px;
36
+ font-weight: normal;
37
+ line-height: 20px;
38
+ text-align: center;
39
+ text-shadow: 0 1px 0 #ffffff;
40
+ background-color: transparent;
41
+ position: absolute;
42
+ right: 6px;
43
+ top: 5px;
44
+ bottom: 3px;
45
+ z-index: 3;
46
+ color: slategrey;
47
  }
48
 
49
  .custom-text {
includes/login-form-setting/{login-form-background.php → Login-form-background.php} RENAMED
File without changes
init.php CHANGED
@@ -267,14 +267,23 @@ function acl_footer_func()
267
  jQuery('#loginform p.forgetmenot').attr('id', 'forgetmenot_input');
268
  jQuery('#loginform p.submit').attr('id', 'submit_input');
269
  jQuery('#loginform .user-pass-wrap').attr('id', 'lable_password_input');
270
-
271
-
272
 
273
  <?php if($enable_inputbox_icon=='yes'){ ?>
274
  if (jQuery('#lable_login_input').length) {
275
  document.getElementById("lable_login_input").innerHTML="<?php echo esc_attr($label_username); ?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo esc_attr($user_input_icon); ?>'></i></div> <input id='user_login' name='log' class='input' type='text' placeholder='<?php echo esc_attr($user_cust_lbl); ?>'></div>";
276
  document.getElementById("lable_password_input").innerHTML="<?php echo esc_attr($label_password); ?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo esc_attr($password_input_icon); ?>'></i></div> <div class='icon-end'><i id='togglePassword' class='fa fa-eye'></i></div><input id='user_pass' name='pwd' class='input' type='password' placeholder='<?php echo esc_attr($pass_cust_lbl); ?>'></div>";
277
  jQuery('body.login div#login form .input, .login input[type="text"]').css('padding','5px 5px 5px 45px');
 
 
 
 
 
 
 
 
 
 
 
278
  }
279
  <?php } else { ?>
280
  if (jQuery('#lable_login_input').length) {
@@ -328,23 +337,6 @@ function acl_footer_func()
328
  }
329
  ?>
330
  jQuery( "#backtoblog" ).append('<div class="divfooter"><?php echo esc_html($edit_tagline_msg);?></div>');
331
- const togglePassword = document.querySelector("#togglePassword");
332
- const password = document.querySelector("#user_pass");
333
-
334
- togglePassword.addEventListener("click", function () {
335
- // toggle the type attribute
336
- const type = password.getAttribute("type") === "password" ? "text" : "password";
337
- password.setAttribute("type", type);
338
-
339
- // toggle the icon
340
- this.classList.toggle("bi-eye");
341
- });
342
-
343
- // prevent form submit
344
- const form = document.querySelector("form");
345
- form.addEventListener('submit', function (e) {
346
- e.preventDefault();
347
- });
348
  });
349
 
350
  <?php
267
  jQuery('#loginform p.forgetmenot').attr('id', 'forgetmenot_input');
268
  jQuery('#loginform p.submit').attr('id', 'submit_input');
269
  jQuery('#loginform .user-pass-wrap').attr('id', 'lable_password_input');
 
 
270
 
271
  <?php if($enable_inputbox_icon=='yes'){ ?>
272
  if (jQuery('#lable_login_input').length) {
273
  document.getElementById("lable_login_input").innerHTML="<?php echo esc_attr($label_username); ?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo esc_attr($user_input_icon); ?>'></i></div> <input id='user_login' name='log' class='input' type='text' placeholder='<?php echo esc_attr($user_cust_lbl); ?>'></div>";
274
  document.getElementById("lable_password_input").innerHTML="<?php echo esc_attr($label_password); ?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo esc_attr($password_input_icon); ?>'></i></div> <div class='icon-end'><i id='togglePassword' class='fa fa-eye'></i></div><input id='user_pass' name='pwd' class='input' type='password' placeholder='<?php echo esc_attr($pass_cust_lbl); ?>'></div>";
275
  jQuery('body.login div#login form .input, .login input[type="text"]').css('padding','5px 5px 5px 45px');
276
+ const togglePassword = document.querySelector("#togglePassword");
277
+ const password = document.querySelector("#user_pass");
278
+
279
+ togglePassword.addEventListener("click", function () {
280
+ // toggle the type attribute
281
+ const type = password.getAttribute("type") === "password" ? "text" : "password";
282
+ password.setAttribute("type", type);
283
+
284
+ // toggle the icon
285
+ this.classList.toggle("bi-eye");
286
+ });
287
  }
288
  <?php } else { ?>
289
  if (jQuery('#lable_login_input').length) {
337
  }
338
  ?>
339
  jQuery( "#backtoblog" ).append('<div class="divfooter"><?php echo esc_html($edit_tagline_msg);?></div>');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  });
341
 
342
  <?php
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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: 6.0
7
- Stable tag: 3.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -189,6 +189,8 @@ 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
 
193
  3.4.1 - [03-06-2022]
194
  * Added: password toggle button.
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: 6.0
7
+ Stable tag: 3.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
189
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
+ 3.4.2 - [04-06-2022]
193
+ * Added: login button issue fixed.
194
 
195
  3.4.1 - [03-06-2022]
196
  * Added: password toggle button.