Admin Custom Login - Version 3.2.5

Version Description

Download this release

Release Info

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

Code changes from version 3.2.4 to 3.2.5

Files changed (5) hide show
  1. acl-gcaptcha.php +7 -0
  2. admin-custom-login.php +6 -3
  3. css/socialcss.php +19 -21
  4. init.php +35 -27
  5. readme.txt +5 -2
acl-gcaptcha.php CHANGED
@@ -37,6 +37,13 @@ function acl_captcha2_output() {
37
  wp_enqueue_script( 'acl-recaptcha-api-js', "https://www.google.com/recaptcha/api.js" );
38
  }
39
 
 
 
 
 
 
 
 
40
  function acl_validate_captcha2( $user, $password ) {
41
  $g_page = unserialize( get_option( 'Admin_custome_login_gcaptcha' ) );
42
  $secret_key = isset( $g_page['secret_key'] ) ? $g_page['secret_key'] : '';
37
  wp_enqueue_script( 'acl-recaptcha-api-js', "https://www.google.com/recaptcha/api.js" );
38
  }
39
 
40
+ /**
41
+ * Undocumented function
42
+ *
43
+ * @param [type] $user
44
+ * @param [type] $password
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'] : '';
admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 3.2.4
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,7 +43,11 @@ function ACL_WeblizarDoInstallation() {
43
  require_once('installation.php');
44
  }
45
 
46
- /*** Add settings link on plugin page ***/
 
 
 
 
47
  function acl_links($links) {
48
  $acl_pro_link = '<a href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_blank">'. esc_html__('Go Pro', WEBLIZAR_ACL) .'</a>';
49
  $acl_settings_link = '<a href="admin.php?page=admin_custom_login">'. esc_html__('Settings', WEBLIZAR_ACL) .'</a>';
@@ -54,4 +58,3 @@ function acl_links($links) {
54
  $acl_plugin_name = plugin_basename(__FILE__);
55
  add_filter("plugin_action_links_$acl_plugin_name", 'acl_links' );
56
  require_once( WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE . '/init.php' );
57
- ?>
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 3.2.5
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
  require_once('installation.php');
44
  }
45
 
46
+
47
+ /**
48
+ * @param $links
49
+ * @return mixed
50
+ */
51
  function acl_links($links) {
52
  $acl_pro_link = '<a href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_blank">'. esc_html__('Go Pro', WEBLIZAR_ACL) .'</a>';
53
  $acl_settings_link = '<a href="admin.php?page=admin_custom_login">'. esc_html__('Settings', WEBLIZAR_ACL) .'</a>';
58
  $acl_plugin_name = plugin_basename(__FILE__);
59
  add_filter("plugin_action_links_$acl_plugin_name", 'acl_links' );
60
  require_once( WEBLIZAR_ACL_PLUGIN_DIR_PATH_FREE . '/init.php' );
 
css/socialcss.php CHANGED
@@ -1,25 +1,23 @@
1
  <?php
2
- $Social_page = unserialize(get_option('Admin_custome_login_Social'));
3
- $social_icon_size=$Social_page['social_icon_size'];
4
- $social_icon_layout=$Social_page['social_icon_layout'];
5
- // $social_link_new_window = $Social_page['social_link_new_window'];
6
- $social_icon_color=$Social_page['social_icon_color'];
7
- $social_icon_color_onhover=$Social_page['social_icon_color_onhover'];
8
- $social_icon_bg=$Social_page['social_icon_bg'];
9
- $social_icon_bg_onhover=$Social_page['social_icon_bg_onhover'];
10
- $social_facebook_link=$Social_page['social_facebook_link'];
11
- $social_twitter_link=$Social_page['social_twitter_link'];
12
- $social_linkedin_link=$Social_page['social_linkedin_link'];
13
- $social_google_plus_link=$Social_page['social_google_plus_link'];
14
- $social_pinterest_link=$Social_page['social_pinterest_link'];
15
- $social_digg_link=$Social_page['social_digg_link'];
16
- $social_youtube_link=$Social_page['social_digg_link'];
17
- $social_flickr_link=$Social_page['social_flickr_link'];
18
- $social_tumblr_link=$Social_page['social_tumblr_link'];
19
- $social_skype_link=$Social_page['social_skype_link'];
20
- $social_instagram_link=$Social_page['social_instagram_link'];
21
-
22
- $login_page = unserialize(get_option('Admin_custome_login_login'));
23
  if(isset($login_page['login_form_float'])){
24
  $login_form_float = $login_page['login_form_float'];
25
  }else{
1
  <?php
2
+ $Social_page = unserialize(get_option('Admin_custome_login_Social'));
3
+ $social_icon_size = $Social_page['social_icon_size'];
4
+ $social_icon_layout = $Social_page['social_icon_layout'];
5
+ $social_icon_color = $Social_page['social_icon_color'];
6
+ $social_icon_color_onhover = $Social_page['social_icon_color_onhover'];
7
+ $social_icon_bg = $Social_page['social_icon_bg'];
8
+ $social_icon_bg_onhover = $Social_page['social_icon_bg_onhover'];
9
+ $social_facebook_link = $Social_page['social_facebook_link'];
10
+ $social_twitter_link = $Social_page['social_twitter_link'];
11
+ $social_linkedin_link = $Social_page['social_linkedin_link'];
12
+ $social_google_plus_link = $Social_page['social_google_plus_link'];
13
+ $social_pinterest_link = $Social_page['social_pinterest_link'];
14
+ $social_digg_link = $Social_page['social_digg_link'];
15
+ $social_youtube_link = $Social_page['social_digg_link'];
16
+ $social_flickr_link = $Social_page['social_flickr_link'];
17
+ $social_tumblr_link = $Social_page['social_tumblr_link'];
18
+ $social_skype_link = $Social_page['social_skype_link'];
19
+ $social_instagram_link = $Social_page['social_instagram_link'];
20
+ $login_page = unserialize(get_option('Admin_custome_login_login'));
 
 
21
  if(isset($login_page['login_form_float'])){
22
  $login_form_float = $login_page['login_form_float'];
23
  }else{
init.php CHANGED
@@ -157,6 +157,14 @@ function WACL_login_button_text()
157
  {
158
  add_filter('gettext', 'WACL_loginbutton_gettext', 10, 2);
159
  }
 
 
 
 
 
 
 
 
160
  function WACL_loginbutton_gettext($translation, $text)
161
  {
162
  if (get_option('Admin_custome_login_login')) {
@@ -176,6 +184,11 @@ function WACL_loginbutton_gettext($translation, $text)
176
  return $translation;
177
  }
178
  /*** To change the Login Button Text ends ***/
 
 
 
 
 
179
  function acl_footer_func()
180
  {
181
  $text_and_color_page = unserialize(get_option('Admin_custome_login_text'));
@@ -515,28 +528,24 @@ function acl_export_settings()
515
  $logo_url_title = $logo_page['logo_url_title'];
516
 
517
  /**** Get value of Slidshow image **/
518
- $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
519
- $Slidshow_image_1 = $Slidshow_image['Slidshow_image_1'];
520
- $Slidshow_image_2 = $Slidshow_image['Slidshow_image_2'];
521
- $Slidshow_image_3 = $Slidshow_image['Slidshow_image_3'];
522
- $Slidshow_image_4 = $Slidshow_image['Slidshow_image_4'];
523
- $Slidshow_image_5 = $Slidshow_image['Slidshow_image_5'];
524
- $Slidshow_image_6 = $Slidshow_image['Slidshow_image_6'];
525
-
526
- $Slidshow_image_label_1 = $Slidshow_image['Slidshow_image_label_1'];
527
- $Slidshow_image_label_2 = $Slidshow_image['Slidshow_image_label_2'];
528
- $Slidshow_image_label_3 = $Slidshow_image['Slidshow_image_label_3'];
529
- $Slidshow_image_label_4 = $Slidshow_image['Slidshow_image_label_4'];
530
- $Slidshow_image_label_5 = $Slidshow_image['Slidshow_image_label_5'];
531
- $Slidshow_image_label_6 = $Slidshow_image['Slidshow_image_label_6'];
532
-
533
- $Social_page = unserialize(get_option('Admin_custome_login_Social'));
534
- $enable_social_icon = $Social_page['enable_social_icon'];
535
- $social_icon_size = $Social_page['social_icon_size'];
536
- $social_icon_layout = $Social_page['social_icon_layout'];
537
-
538
- $social_link_new_window = $Social_page['social_link_new_window'];
539
-
540
  $social_icon_color = $Social_page['social_icon_color'];
541
  $social_icon_color_onhover = $Social_page['social_icon_color_onhover'];
542
  $social_icon_bg = $Social_page['social_icon_bg'];
@@ -554,11 +563,10 @@ function acl_export_settings()
554
  $social_instagram_link = $Social_page['social_instagram_link'];
555
  $social_telegram_link = $Social_page['social_telegram_link'];
556
  $social_whatsapp_link = $Social_page['social_whatsapp_link'];
557
-
558
- $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
559
- $site_key = $g_page['site_key'];
560
- $secret_key = $g_page['secret_key'];
561
- $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
562
  if (isset($g_page['acl_gcaptcha_theme'])) {
563
  $acl_gcaptcha_theme = $g_page['acl_gcaptcha_theme'];
564
  } else {
157
  {
158
  add_filter('gettext', 'WACL_loginbutton_gettext', 10, 2);
159
  }
160
+
161
+ /**
162
+ * WACL_loginbutton_gettext function
163
+ *
164
+ * @param [type] $translation
165
+ * @param [type] $text
166
+ * @return translation
167
+ */
168
  function WACL_loginbutton_gettext($translation, $text)
169
  {
170
  if (get_option('Admin_custome_login_login')) {
184
  return $translation;
185
  }
186
  /*** To change the Login Button Text ends ***/
187
+ /**
188
+ * Undocumented function
189
+ *
190
+ * @return void
191
+ */
192
  function acl_footer_func()
193
  {
194
  $text_and_color_page = unserialize(get_option('Admin_custome_login_text'));
528
  $logo_url_title = $logo_page['logo_url_title'];
529
 
530
  /**** Get value of Slidshow image **/
531
+ $Slidshow_image = unserialize(get_option('Admin_custome_login_Slidshow'));
532
+ $Slidshow_image_1 = $Slidshow_image['Slidshow_image_1'];
533
+ $Slidshow_image_2 = $Slidshow_image['Slidshow_image_2'];
534
+ $Slidshow_image_3 = $Slidshow_image['Slidshow_image_3'];
535
+ $Slidshow_image_4 = $Slidshow_image['Slidshow_image_4'];
536
+ $Slidshow_image_5 = $Slidshow_image['Slidshow_image_5'];
537
+ $Slidshow_image_6 = $Slidshow_image['Slidshow_image_6'];
538
+ $Slidshow_image_label_1 = $Slidshow_image['Slidshow_image_label_1'];
539
+ $Slidshow_image_label_2 = $Slidshow_image['Slidshow_image_label_2'];
540
+ $Slidshow_image_label_3 = $Slidshow_image['Slidshow_image_label_3'];
541
+ $Slidshow_image_label_4 = $Slidshow_image['Slidshow_image_label_4'];
542
+ $Slidshow_image_label_5 = $Slidshow_image['Slidshow_image_label_5'];
543
+ $Slidshow_image_label_6 = $Slidshow_image['Slidshow_image_label_6'];
544
+ $Social_page = unserialize(get_option('Admin_custome_login_Social'));
545
+ $enable_social_icon = $Social_page['enable_social_icon'];
546
+ $social_icon_size = $Social_page['social_icon_size'];
547
+ $social_icon_layout = $Social_page['social_icon_layout'];
548
+ $social_link_new_window = $Social_page['social_link_new_window'];
 
 
 
 
549
  $social_icon_color = $Social_page['social_icon_color'];
550
  $social_icon_color_onhover = $Social_page['social_icon_color_onhover'];
551
  $social_icon_bg = $Social_page['social_icon_bg'];
563
  $social_instagram_link = $Social_page['social_instagram_link'];
564
  $social_telegram_link = $Social_page['social_telegram_link'];
565
  $social_whatsapp_link = $Social_page['social_whatsapp_link'];
566
+ $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
567
+ $site_key = $g_page['site_key'];
568
+ $secret_key = $g_page['secret_key'];
569
+ $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
 
570
  if (isset($g_page['acl_gcaptcha_theme'])) {
571
  $acl_gcaptcha_theme = $g_page['acl_gcaptcha_theme'];
572
  } else {
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.5
7
- Stable tag: 3.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -190,6 +190,9 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-c
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
 
 
 
 
193
  3.2.4 = [28-Nov-2020]
194
  * Fixed: SlideShow issue on Form.
195
 
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.6
7
+ Stable tag: 3.2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
 
193
+ 3.2.5 = [10-Dec-2020]
194
+ * Fixed: SlideShow issue on Form.
195
+
196
  3.2.4 = [28-Nov-2020]
197
  * Fixed: SlideShow issue on Form.
198