Custom Login Page Customizer | LoginPress - Version 1.1.5

Version Description

  • 2018-06-05 =
  • Bugfix: RTL customizer issue.
  • Bugfix: Label Translation issue.
  • Bugfix: Forget & Registration Form Transparency issue.
  • Bugfix: Remove PHP 5.6 Warnings
  • Compatibility: Compatible with WordPress 4.9.
Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Custom Login Page Customizer | LoginPress
Version 1.1.5
Comparing to
See all releases

Code changes from version 1.1.4 to 1.1.5

css/controls/loginpress-group-control.css CHANGED
@@ -93,3 +93,16 @@
93
  box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30,140,190,.8);
94
  color: #5b9dd9;
95
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30,140,190,.8);
94
  color: #5b9dd9;
95
  }
96
+ /* Code start for RTL */
97
+ html[dir="rtl"] #customize-controls h3.loginpress-group-heading .customize-help-toggle{
98
+ left: 1px;
99
+ right: auto;
100
+ }
101
+ html[dir="rtl"] input[type=checkbox].loginpress-radio:checked + .loginpress-radio-btn:after{
102
+ right: 15px;
103
+ left: auto;
104
+ }
105
+ html[dir="rtl"] .customize-partial-edit-shortcut button,html[dir="rtl"] .widget .customize-partial-edit-shortcut button{
106
+ right: 0;
107
+ }
108
+ /* Code End for RTL */
css/style-login.php CHANGED
@@ -467,6 +467,9 @@ box-shadow: <?php echo loginpress_box_shadow( $loginpress_textfield_shadow, $log
467
  <?php if ( ! empty( $loginpress_form_background_clr ) ) : ?>
468
  background-color: <?php echo $loginpress_form_background_clr; ?>;
469
  <?php endif; ?>
 
 
 
470
  }
471
 
472
  #registerform {
@@ -476,6 +479,9 @@ box-shadow: <?php echo loginpress_box_shadow( $loginpress_textfield_shadow, $log
476
  <?php if ( ! empty( $loginpress_form_background_clr ) ) : ?>
477
  background-color: <?php echo $loginpress_form_background_clr; ?>;
478
  <?php endif; ?>
 
 
 
479
  }
480
 
481
 
467
  <?php if ( ! empty( $loginpress_form_background_clr ) ) : ?>
468
  background-color: <?php echo $loginpress_form_background_clr; ?>;
469
  <?php endif; ?>
470
+ <?php if ( ! empty( $loginpress_form_display_bg ) && true == $loginpress_form_display_bg ) : ?>
471
+ background: transparent;
472
+ <?php endif; ?>
473
  }
474
 
475
  #registerform {
479
  <?php if ( ! empty( $loginpress_form_background_clr ) ) : ?>
480
  background-color: <?php echo $loginpress_form_background_clr; ?>;
481
  <?php endif; ?>
482
+ <?php if ( ! empty( $loginpress_form_display_bg ) && true == $loginpress_form_display_bg ) : ?>
483
+ background: transparent;
484
+ <?php endif; ?>
485
  }
486
 
487
 
css/style-previewer.css CHANGED
@@ -111,4 +111,7 @@ body:hover .customize-partial-edit-shortcut button{
111
  }
112
  #loginform{
113
  overflow: visible;
114
- }
 
 
 
111
  }
112
  #loginform{
113
  overflow: visible;
114
+ }
115
+ html[dir="rtl"] .customize-partial-edit-shortcut button,html[dir="rtl"] .widget .customize-partial-edit-shortcut button{
116
+ right: 0;
117
+ }
custom.php CHANGED
@@ -1547,7 +1547,7 @@ class LoginPress_Entities {
1547
 
1548
  add_filter( 'gettext', array( $this, 'change_lostpassword_message' ), 20, 3 );
1549
  add_filter( 'gettext', array( $this, 'change_username_label' ), 20, 3 );
1550
- add_filter( 'gettext', array( $this, 'change_password_label' ), 20, 3 );
1551
  // Include CSS File in heared.
1552
  wp_enqueue_script( 'jquery' );
1553
  include( LOGINPRESS_DIR_PATH . 'css/style-presets.php' );
@@ -1717,7 +1717,7 @@ class LoginPress_Entities {
1717
  if ( $loginpress_setting && $default === $text ) {
1718
 
1719
  // Check if the option exists.
1720
- if ( '' != $login_order ) {
1721
  if ( 'username' == $login_order ) {
1722
  $label = __( 'Username', 'loginpress' );
1723
  } elseif ( 'email' == $login_order ) {
1547
 
1548
  add_filter( 'gettext', array( $this, 'change_lostpassword_message' ), 20, 3 );
1549
  add_filter( 'gettext', array( $this, 'change_username_label' ), 20, 3 );
1550
+ // add_filter( 'gettext', array( $this, 'change_password_label' ), 20, 3 );
1551
  // Include CSS File in heared.
1552
  wp_enqueue_script( 'jquery' );
1553
  include( LOGINPRESS_DIR_PATH . 'css/style-presets.php' );
1717
  if ( $loginpress_setting && $default === $text ) {
1718
 
1719
  // Check if the option exists.
1720
+ if ( '' != $login_order && 'default' != $login_order ) {
1721
  if ( 'username' == $login_order ) {
1722
  $label = __( 'Username', 'loginpress' );
1723
  } elseif ( 'email' == $login_order ) {
include/create-loginpress-page.php CHANGED
@@ -89,6 +89,9 @@ class LoginPress_Page_Create {
89
 
90
  // Pull options from WP.
91
  $loginpress_setting = get_option( 'loginpress_setting', array() );
 
 
 
92
  $option_value = array_key_exists( 'loginpress_page', $loginpress_setting ) ? $loginpress_setting['loginpress_page'] : false;
93
 
94
  if ( $option_value > 0 && ( $page_object = get_post( $option_value ) ) ) {
89
 
90
  // Pull options from WP.
91
  $loginpress_setting = get_option( 'loginpress_setting', array() );
92
+ if ( ! is_array( $loginpress_setting ) && empty( $loginpress_setting ) ) {
93
+ $loginpress_setting = array();
94
+ }
95
  $option_value = array_key_exists( 'loginpress_page', $loginpress_setting ) ? $loginpress_setting['loginpress_page'] : false;
96
 
97
  if ( $option_value > 0 && ( $page_object = get_post( $option_value ) ) ) {
include/deactivate_modal.php CHANGED
@@ -28,7 +28,10 @@
28
  overflow: auto;
29
  visibility: hidden;
30
  opacity: 0;
31
- transition: opacity 0.3s ease-in-out:
 
 
 
32
  }
33
  .loginpress-popup-overlay.loginpress-active{
34
  opacity: 1;
@@ -37,7 +40,8 @@
37
  .loginpress-serveypanel{
38
  width: 600px;
39
  background: #fff;
40
- margin: 65px auto 0;
 
41
  }
42
  .loginpress-popup-header{
43
  background: #f1f1f1;
@@ -46,6 +50,7 @@
46
  }
47
  .loginpress-popup-header h2{
48
  margin: 0;
 
49
  }
50
  .loginpress-popup-body{
51
  padding: 10px 20px;
@@ -85,7 +90,39 @@
85
  font-weight: 600;
86
  display: none;
87
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
 
 
 
 
 
 
89
  </style>
90
  <div class="loginpress-popup-overlay">
91
  <div class="loginpress-serveypanel">
28
  overflow: auto;
29
  visibility: hidden;
30
  opacity: 0;
31
+ transition: opacity 0.3s ease-in-out;
32
+ display: flex;
33
+ justify-content: center;
34
+ align-items: center;
35
  }
36
  .loginpress-popup-overlay.loginpress-active{
37
  opacity: 1;
40
  .loginpress-serveypanel{
41
  width: 600px;
42
  background: #fff;
43
+ margin: 0 auto 0;
44
+ border-radius: 3px;
45
  }
46
  .loginpress-popup-header{
47
  background: #f1f1f1;
50
  }
51
  .loginpress-popup-header h2{
52
  margin: 0;
53
+ text-transform: uppercase;
54
  }
55
  .loginpress-popup-body{
56
  padding: 10px 20px;
90
  font-weight: 600;
91
  display: none;
92
  }
93
+ .loginpress-popup-header{
94
+ background: none;
95
+ padding: 18px 15px;
96
+ -webkit-box-shadow: 0 0 8px rgba(0,0,0,.1);
97
+ box-shadow: 0 0 8px rgba(0,0,0,.1);
98
+ border: 0;
99
+ }
100
+ .loginpress-popup-body h3{
101
+ margin-top: 0;
102
+ margin-bottom: 30px;
103
+ font-weight: 700;
104
+ font-size: 15px;
105
+ color: #495157;
106
+ line-height: 1.4;
107
+ text-tranform: uppercase;
108
+ }
109
+ .loginpress-reason{
110
+ font-size: 13px;
111
+ color: #6d7882;
112
+ margin-bottom: 15px;
113
+ }
114
+ .loginpress-reason input[type="radio"]{
115
+ margin-right: 15px;
116
+ }
117
+ .loginpress-popup-body{
118
+ padding: 30px 30px 0;
119
 
120
+ }
121
+ .loginpress-popup-footer{
122
+ background: none;
123
+ border: 0;
124
+ padding: 29px 39px 39px;
125
+ }
126
  </style>
127
  <div class="loginpress-popup-overlay">
128
  <div class="loginpress-serveypanel">
loginpress.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: LoginPress - Customizing the WordPress Login
4
  * Plugin URI: http://WPBrigade.com/wordpress/plugins/loginpress/
5
  * Description: LoginPress is the best <code>wp-login</code> Login Page Customizer plugin by <a href="https://wpbrigade.com/">WPBrigade</a> which allows you to completely change the layout of login, register and forgot password forms.
6
- * Version: 1.1.4
7
  * Author: WPBrigade
8
  * Author URI: http://WPBrigade.com/
9
  * Text Domain: loginpress
@@ -22,7 +22,7 @@ if ( ! class_exists( 'LoginPress' ) ) :
22
  /**
23
  * @var string
24
  */
25
- public $version = '1.1.4';
26
 
27
  /**
28
  * @var The single instance of the class
@@ -635,6 +635,9 @@ if ( ! class_exists( 'LoginPress' ) ) :
635
  public function get_loginpress_page() {
636
 
637
  $loginpress_settings = get_option( 'loginpress_setting', array() );
 
 
 
638
  $page = array_key_exists( 'loginpress_page', $loginpress_settings ) ? get_post( $loginpress_settings['loginpress_page'] ) : false;
639
 
640
  return $page;
3
  * Plugin Name: LoginPress - Customizing the WordPress Login
4
  * Plugin URI: http://WPBrigade.com/wordpress/plugins/loginpress/
5
  * Description: LoginPress is the best <code>wp-login</code> Login Page Customizer plugin by <a href="https://wpbrigade.com/">WPBrigade</a> which allows you to completely change the layout of login, register and forgot password forms.
6
+ * Version: 1.1.5
7
  * Author: WPBrigade
8
  * Author URI: http://WPBrigade.com/
9
  * Text Domain: loginpress
22
  /**
23
  * @var string
24
  */
25
+ public $version = '1.1.5';
26
 
27
  /**
28
  * @var The single instance of the class
635
  public function get_loginpress_page() {
636
 
637
  $loginpress_settings = get_option( 'loginpress_setting', array() );
638
+ if ( ! is_array( $loginpress_setting ) && empty( $loginpress_setting ) ) {
639
+ $loginpress_setting = array();
640
+ }
641
  $page = array_key_exists( 'loginpress_page', $loginpress_settings ) ? get_post( $loginpress_settings['loginpress_page'] ) : false;
642
 
643
  return $page;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tested up to: 4.9
4
  Contributors: WPBrigade, hiddenpearls, AbdulWahab610
5
  Author URI: https://wpbrigade.com
6
  Tags: wp-login, custom wp-login, login customizer, custom login, custom login logo, login customizer, custom login page, login error, login page style, loginpress
7
- Stable tag: 1.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -204,6 +204,13 @@ Please visit <a target="_blank" rel="friend" href="http://WPBrigade.com/wordpres
204
 
205
  == Changelog ==
206
 
 
 
 
 
 
 
 
207
  = 1.1.4 - 2018-03-31 =
208
  * Bugfix: addons notice links
209
 
@@ -371,5 +378,5 @@ Please visit <a target="_blank" rel="friend" href="http://WPBrigade.com/wordpres
371
 
372
  == Upgrade Notice ==
373
 
374
- = 1.1.4 =
375
- * Launched LoginPress addons - (Auto Login, Hide Login, Login Redirects, Social Login, Login Widget, Limit Login Attempts) + Multiple New Features + couple of bug fixes.
4
  Contributors: WPBrigade, hiddenpearls, AbdulWahab610
5
  Author URI: https://wpbrigade.com
6
  Tags: wp-login, custom wp-login, login customizer, custom login, custom login logo, login customizer, custom login page, login error, login page style, loginpress
7
+ Stable tag: 1.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
204
 
205
  == Changelog ==
206
 
207
+ = 1.1.5 - 2018-06-05 =
208
+ * Bugfix: RTL customizer issue.
209
+ * Bugfix: Label Translation issue.
210
+ * Bugfix: Forget & Registration Form Transparency issue.
211
+ * Bugfix: Remove PHP 5.6 Warnings
212
+ * Compatibility: Compatible with WordPress 4.9.
213
+
214
  = 1.1.4 - 2018-03-31 =
215
  * Bugfix: addons notice links
216
 
378
 
379
  == Upgrade Notice ==
380
 
381
+ = 1.1.5 =
382
+ * Launched LoginPress addons - Bugfix release.