Version Description
2019-11-20 = * Bugfix: Remove typo ";" from login templates. * Bugfix: Console error in customizer. * Bugfix: Default layout "Remember me" checkbox color. * Enhancement: Update admin email verification layout.
Download this release
Release Info
Developer | hiddenpearls |
Plugin | Custom Login Page Customizer | LoginPress |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- classes/class-loginpress-custom-password.php +2 -2
- css/themes/default-1.php +43 -15
- custom.php +1 -1
- include/compatibility.php +6 -6
- js/customize-controls.js +8 -5
- loginpress.php +2 -2
- readme.txt +9 -3
classes/class-loginpress-custom-password.php
CHANGED
@@ -13,7 +13,7 @@ if ( ! class_exists( 'LoginPresss_Custom_Password' ) ) :
|
|
13 |
* LoginPress Custom Passwords class
|
14 |
*
|
15 |
* @since 1.0.22
|
16 |
-
* @version 1.
|
17 |
*/
|
18 |
class LoginPresss_Custom_Password {
|
19 |
|
@@ -118,7 +118,7 @@ if ( ! class_exists( 'LoginPresss_Custom_Password' ) ) :
|
|
118 |
/**
|
119 |
* Filter the new user email notification.
|
120 |
*
|
121 |
-
* @since 1.
|
122 |
*
|
123 |
* @param array $email The new user email notification parameters.
|
124 |
* @return array The new user email notification parameters.
|
13 |
* LoginPress Custom Passwords class
|
14 |
*
|
15 |
* @since 1.0.22
|
16 |
+
* @version 1.4.0
|
17 |
*/
|
18 |
class LoginPresss_Custom_Password {
|
19 |
|
118 |
/**
|
119 |
* Filter the new user email notification.
|
120 |
*
|
121 |
+
* @since 1.4.0
|
122 |
*
|
123 |
* @param array $email The new user email notification parameters.
|
124 |
* @return array The new user email notification parameters.
|
css/themes/default-1.php
CHANGED
@@ -8,24 +8,52 @@
|
|
8 |
function first_presets() {
|
9 |
ob_start();
|
10 |
if ( version_compare( $GLOBALS['wp_version'], '5.3', '>=' ) ) : ?>
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<style>
|
21 |
input[type=checkbox]:checked:before {
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
}
|
26 |
-
|
27 |
-
|
28 |
-
<?php endif; ?>
|
29 |
<style media="screen" id="loginpress-style">
|
30 |
|
31 |
/*************************************************************
|
8 |
function first_presets() {
|
9 |
ob_start();
|
10 |
if ( version_compare( $GLOBALS['wp_version'], '5.3', '>=' ) ) : ?>
|
11 |
+
<style media="screen" id="loginpress-style-wp-5-3">
|
12 |
+
.login form .input, .login input[type=text],.login form input[type=checkbox]{
|
13 |
+
border-radius: 0;
|
14 |
+
}
|
15 |
+
input[type=checkbox]:checked:before {
|
16 |
+
content: url('data:image/svg+xml;utf8,<svg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27><path%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%231e8cbe%27%2F><%2Fsvg>');
|
17 |
+
margin: -0.25rem 0 0 -0.275rem !important;
|
18 |
+
}
|
19 |
+
.wp-core-ui #login .button-primary{
|
20 |
+
margin-left: 0;
|
21 |
+
}
|
22 |
+
.admin-email__actions-primary .button:first-child {
|
23 |
+
font: 400 15px "Roboto", sans-serif;
|
24 |
+
color: #fff;
|
25 |
+
height: auto;
|
26 |
+
line-height: 20px !important;
|
27 |
+
padding: 13px;
|
28 |
+
padding-top: 13px;
|
29 |
+
padding-bottom: 13px;
|
30 |
+
width: 100%;
|
31 |
+
text-align: center;
|
32 |
+
background-color: #008ec2;
|
33 |
+
border: 0;
|
34 |
+
margin-bottom: 8px;
|
35 |
+
border-radius: 5px;
|
36 |
+
}
|
37 |
+
.admin-email__actions-primary .button:first-child:hover {
|
38 |
+
background-color: #008ec2;
|
39 |
+
}
|
40 |
+
.login form.admin-email-confirm-form {
|
41 |
+
max-width: 360px;
|
42 |
+
margin: 0 auto;
|
43 |
+
}
|
44 |
+
.login-action-confirm_admin_email #backtoblog a {
|
45 |
+
color: #008ec2 !important;
|
46 |
+
}
|
47 |
+
</style>
|
48 |
+
<?php else: ?>
|
49 |
<style>
|
50 |
input[type=checkbox]:checked:before {
|
51 |
+
content: '\f147';
|
52 |
+
margin: -5px 0 0 -6px;
|
53 |
+
color: #1e8cbe;
|
54 |
}
|
55 |
+
</style>
|
56 |
+
<?php endif; ?>
|
|
|
57 |
<style media="screen" id="loginpress-style">
|
58 |
|
59 |
/*************************************************************
|
custom.php
CHANGED
@@ -25,7 +25,7 @@ class LoginPress_Entities {
|
|
25 |
* Hook into actions and filters
|
26 |
*
|
27 |
* @since 1.0.0
|
28 |
-
* @version 1.
|
29 |
*/
|
30 |
private function _hooks() {
|
31 |
|
25 |
* Hook into actions and filters
|
26 |
*
|
27 |
* @since 1.0.0
|
28 |
+
* @version 1.4.0
|
29 |
*/
|
30 |
private function _hooks() {
|
31 |
|
include/compatibility.php
CHANGED
@@ -89,12 +89,12 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
89 |
add_action( 'login_enqueue_scripts', array( $this, 'dequeue_thrive_conflicting_scripts' ), 99 );
|
90 |
|
91 |
/*************************************
|
92 |
-
Oxygen Builder Compatibility Fix // v1.
|
93 |
*************************************/
|
94 |
add_filter( 'template_include', array( $this, 'template_include_ob' ), 100 );
|
95 |
|
96 |
/***************************************************************
|
97 |
-
All In One WP Security & Firewall Compatibility Fix // v1.
|
98 |
****************************************************************/
|
99 |
add_action( 'init', array( $this, 'aiowps_login_init_remove_action' ) );
|
100 |
}
|
@@ -113,7 +113,7 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
113 |
/**
|
114 |
* Overide the oxygen template with loginpress on login customizer screen.
|
115 |
*
|
116 |
-
* @since 1.
|
117 |
*/
|
118 |
public function template_include_ob( $template ) {
|
119 |
// Safely exit if methods not defined yet
|
@@ -232,7 +232,7 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
232 |
* Remove login securty check in customizer screen only.
|
233 |
* No need for this check as the user is already logged in and using customizer.
|
234 |
*
|
235 |
-
* @since 1.
|
236 |
*/
|
237 |
public function aiowps_login_init_remove_action() {
|
238 |
if ( ! is_customize_preview() )
|
@@ -254,7 +254,7 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
254 |
/**
|
255 |
* Filter options aio_wp_security_configs.
|
256 |
*
|
257 |
-
* @since 1.
|
258 |
*/
|
259 |
public function aiowps_filter_options( $option ) {
|
260 |
unset( $option['aiowps_enable_rename_login_page'] );
|
@@ -282,7 +282,7 @@ if ( ! class_exists( 'LoginPress_Compatibility' ) ) :
|
|
282 |
|
283 |
/**
|
284 |
* dequeue_conflicted_script
|
285 |
-
*
|
286 |
* @since 1.0.3
|
287 |
*/
|
288 |
public function dequeue_conflicted_script() {
|
89 |
add_action( 'login_enqueue_scripts', array( $this, 'dequeue_thrive_conflicting_scripts' ), 99 );
|
90 |
|
91 |
/*************************************
|
92 |
+
Oxygen Builder Compatibility Fix // v1.4.0
|
93 |
*************************************/
|
94 |
add_filter( 'template_include', array( $this, 'template_include_ob' ), 100 );
|
95 |
|
96 |
/***************************************************************
|
97 |
+
All In One WP Security & Firewall Compatibility Fix // v1.4.0
|
98 |
****************************************************************/
|
99 |
add_action( 'init', array( $this, 'aiowps_login_init_remove_action' ) );
|
100 |
}
|
113 |
/**
|
114 |
* Overide the oxygen template with loginpress on login customizer screen.
|
115 |
*
|
116 |
+
* @since 1.4.0
|
117 |
*/
|
118 |
public function template_include_ob( $template ) {
|
119 |
// Safely exit if methods not defined yet
|
232 |
* Remove login securty check in customizer screen only.
|
233 |
* No need for this check as the user is already logged in and using customizer.
|
234 |
*
|
235 |
+
* @since 1.4.0
|
236 |
*/
|
237 |
public function aiowps_login_init_remove_action() {
|
238 |
if ( ! is_customize_preview() )
|
254 |
/**
|
255 |
* Filter options aio_wp_security_configs.
|
256 |
*
|
257 |
+
* @since 1.4.0
|
258 |
*/
|
259 |
public function aiowps_filter_options( $option ) {
|
260 |
unset( $option['aiowps_enable_rename_login_page'] );
|
282 |
|
283 |
/**
|
284 |
* dequeue_conflicted_script
|
285 |
+
*
|
286 |
* @since 1.0.3
|
287 |
*/
|
288 |
public function dequeue_conflicted_script() {
|
js/customize-controls.js
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
5 |
* [loginpress_manage_customizer_controls description]
|
6 |
* @param [array/string] controler controler name.
|
7 |
* @param boolean action Trun on/off the customizer control.
|
@@ -544,7 +545,7 @@ jQuery(document).ready(function($) {
|
|
544 |
* [loginpress_customizer_bg LoginPress Customizer Background Image Control that Retrive the Image URL w.r.t theme]
|
545 |
* @param {[string]} customizer_bg [Preset Option]
|
546 |
* @return {[URL]} loginpress_bg [Image URL]
|
547 |
-
* @version 1.
|
548 |
*/
|
549 |
function loginpress_customizer_bg(customizer_bg) {
|
550 |
|
@@ -1611,3 +1612,5 @@ jQuery(document).ready(function($) {
|
|
1611 |
});
|
1612 |
|
1613 |
})(jQuery);
|
|
|
|
1 |
+
(function($) {
|
2 |
+
/**
|
3 |
+
* This file handling some LIVE to the LoginPress Customizer live preview.
|
4 |
+
*/
|
5 |
+
/**
|
6 |
* [loginpress_manage_customizer_controls description]
|
7 |
* @param [array/string] controler controler name.
|
8 |
* @param boolean action Trun on/off the customizer control.
|
545 |
* [loginpress_customizer_bg LoginPress Customizer Background Image Control that Retrive the Image URL w.r.t theme]
|
546 |
* @param {[string]} customizer_bg [Preset Option]
|
547 |
* @return {[URL]} loginpress_bg [Image URL]
|
548 |
+
* @version 1.4.0
|
549 |
*/
|
550 |
function loginpress_customizer_bg(customizer_bg) {
|
551 |
|
1612 |
});
|
1613 |
|
1614 |
})(jQuery);
|
1615 |
+
|
1616 |
+
})(jQuery);
|
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.4.
|
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.4.
|
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.4.1
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://WPBrigade.com/
|
9 |
* Text Domain: loginpress
|
22 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
+
public $version = '1.4.1';
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tested up to: 5.3
|
|
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.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -215,7 +215,13 @@ Please visit <a target="_blank" rel="friend" href="https://WPBrigade.com/wordpre
|
|
215 |
|
216 |
== Changelog ==
|
217 |
|
218 |
-
= 1.4.
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
* New Feature: Created a new Pro Animated Login Page template.
|
220 |
* Bugfix: Compatible with All In One WP Security & Firewall. Remove `/wp_admin` redirect in customizer for customizing the login page.
|
221 |
* Bugfix: Compatible with Oxygen Builder.
|
@@ -540,5 +546,5 @@ Please visit <a target="_blank" rel="friend" href="https://WPBrigade.com/wordpre
|
|
540 |
|
541 |
== Upgrade Notice ==
|
542 |
|
543 |
-
= 1.4.
|
544 |
* 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.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
215 |
|
216 |
== Changelog ==
|
217 |
|
218 |
+
= 1.4.1 – 2019-11-20 =
|
219 |
+
* Bugfix: Remove typo ";" from login templates.
|
220 |
+
* Bugfix: Console error in customizer.
|
221 |
+
* Bugfix: Default layout "Remember me" checkbox color.
|
222 |
+
* Enhancement: Update admin email verification layout.
|
223 |
+
|
224 |
+
= 1.4.0 – 2019-11-15 =
|
225 |
* New Feature: Created a new Pro Animated Login Page template.
|
226 |
* Bugfix: Compatible with All In One WP Security & Firewall. Remove `/wp_admin` redirect in customizer for customizing the login page.
|
227 |
* Bugfix: Compatible with Oxygen Builder.
|
546 |
|
547 |
== Upgrade Notice ==
|
548 |
|
549 |
+
= 1.4.1 =
|
550 |
* Important Release, upgrade immediately.
|