Version Description
2019-08-17 = * BugFix: Fatal error in wp-admin when WebARX is installed on site. * BugFix: Add compatibility with Password Protected plugin. logo URL fixed.
Download this release
Release Info
Developer | hiddenpearls |
Plugin | Custom Login Page Customizer | LoginPress |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- include/compatibility.php +17 -3
- loginpress.php +2 -2
- readme.txt +8 -2
include/compatibility.php
CHANGED
@@ -95,7 +95,7 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
95 |
}
|
96 |
|
97 |
public function site_url_remove_filter( $url ) {
|
98 |
-
if ( class_exists( 'Webarx' )
|
99 |
|
100 |
if ( ! function_exists( 'is_user_logged_in' ) ) {
|
101 |
return $url;
|
@@ -112,7 +112,7 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
112 |
}
|
113 |
|
114 |
public function network_site_url_remove_filter( $url ) {
|
115 |
-
if ( class_exists( 'Webarx' )
|
116 |
|
117 |
if ( ! function_exists( 'is_user_logged_in' ) ) {
|
118 |
return $url;
|
@@ -182,11 +182,14 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
182 |
* Enqueue LoginPress CSS on Password_Protected plugin.
|
183 |
*
|
184 |
* Hooked to the password_protected_login_head action,
|
|
|
|
|
185 |
* so that it is after the script was enqueued.
|
186 |
* @since 1.0.3
|
187 |
*/
|
188 |
if ( class_exists( 'Password_Protected' ) ) {
|
189 |
add_action( 'password_protected_login_head', array( $this, 'enqueue_loginpress_script' ) );
|
|
|
190 |
}
|
191 |
}
|
192 |
|
@@ -237,8 +240,19 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
237 |
include( LOGINPRESS_DIR_PATH . 'css/style-login.php' );
|
238 |
}
|
239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
}
|
241 |
|
242 |
endif;
|
243 |
|
244 |
-
new LoginPress_Compatibility;
|
95 |
}
|
96 |
|
97 |
public function site_url_remove_filter( $url ) {
|
98 |
+
if ( class_exists( 'Webarx' ) ) {
|
99 |
|
100 |
if ( ! function_exists( 'is_user_logged_in' ) ) {
|
101 |
return $url;
|
112 |
}
|
113 |
|
114 |
public function network_site_url_remove_filter( $url ) {
|
115 |
+
if ( class_exists( 'Webarx' ) ) {
|
116 |
|
117 |
if ( ! function_exists( 'is_user_logged_in' ) ) {
|
118 |
return $url;
|
182 |
* Enqueue LoginPress CSS on Password_Protected plugin.
|
183 |
*
|
184 |
* Hooked to the password_protected_login_head action,
|
185 |
+
* Head URL on logo as well.
|
186 |
+
*
|
187 |
* so that it is after the script was enqueued.
|
188 |
* @since 1.0.3
|
189 |
*/
|
190 |
if ( class_exists( 'Password_Protected' ) ) {
|
191 |
add_action( 'password_protected_login_head', array( $this, 'enqueue_loginpress_script' ) );
|
192 |
+
add_filter('password_protected_login_headerurl', array( $this, 'password_protected_login_headerurl_cb' ) );
|
193 |
}
|
194 |
}
|
195 |
|
240 |
include( LOGINPRESS_DIR_PATH . 'css/style-login.php' );
|
241 |
}
|
242 |
|
243 |
+
/**
|
244 |
+
* Password protected plugin compatlibility iwth logo url.
|
245 |
+
* @since 1.3.1
|
246 |
+
*/
|
247 |
+
public function password_protected_login_headerurl_cb() {
|
248 |
+
$logo_url = get_option( 'loginpress_customization' );
|
249 |
+
$logo_url = $logo_url['customize_logo_hover'];
|
250 |
+
|
251 |
+
return $logo_url;
|
252 |
+
}
|
253 |
+
|
254 |
}
|
255 |
|
256 |
endif;
|
257 |
|
258 |
+
new LoginPress_Compatibility;
|
loginpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: LoginPress - Customizing the WordPress Login
|
4 |
* Plugin URI: https://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.3.
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://WPBrigade.com/
|
9 |
* Text Domain: loginpress
|
@@ -22,7 +22,7 @@ if ( ! class_exists( 'LoginPress' ) ) :
|
|
22 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
-
public $version = '1.3.
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
3 |
* Plugin Name: LoginPress - Customizing the WordPress Login
|
4 |
* Plugin URI: https://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.3.1
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://WPBrigade.com/
|
9 |
* Text Domain: loginpress
|
22 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
+
public $version = '1.3.1';
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tested up to: 5.2
|
|
4 |
Contributors: WPBrigade, hiddenpearls, AbdulWahab610
|
5 |
Author URI: https://wpbrigade.com
|
6 |
Tags: wp-login, login, login customizer, custom login, wordpress login,
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -214,6 +214,12 @@ Please visit <a target="_blank" rel="friend" href="https://WPBrigade.com/wordpre
|
|
214 |
|
215 |
== Changelog ==
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
= 1.3.0 – 2019-08-09 =
|
218 |
* New Feature: Create Filter to remove LoginPress custom error messages.
|
219 |
* BugFix: LoginPress is Compatible with WebARX plugin. Fixed Customizer loading issue.
|
@@ -520,5 +526,5 @@ Please visit <a target="_blank" rel="friend" href="https://WPBrigade.com/wordpre
|
|
520 |
|
521 |
== Upgrade Notice ==
|
522 |
|
523 |
-
= 1.3.
|
524 |
* Important Release, upgrade immediately.
|
4 |
Contributors: WPBrigade, hiddenpearls, AbdulWahab610
|
5 |
Author URI: https://wpbrigade.com
|
6 |
Tags: wp-login, login, login customizer, custom login, wordpress login,
|
7 |
+
Stable tag: 1.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
214 |
|
215 |
== Changelog ==
|
216 |
|
217 |
+
|
218 |
+
|
219 |
+
= 1.3.1 – 2019-08-17 =
|
220 |
+
* BugFix: Fatal error in wp-admin when WebARX is installed on site.
|
221 |
+
* BugFix: Add compatibility with Password Protected plugin. logo URL fixed.
|
222 |
+
|
223 |
= 1.3.0 – 2019-08-09 =
|
224 |
* New Feature: Create Filter to remove LoginPress custom error messages.
|
225 |
* BugFix: LoginPress is Compatible with WebARX plugin. Fixed Customizer loading issue.
|
526 |
|
527 |
== Upgrade Notice ==
|
528 |
|
529 |
+
= 1.3.1 =
|
530 |
* Important Release, upgrade immediately.
|