Version Description
- 2018-08-08 =
- Update: log file.
- Compatibility: Compatible with WordPress 4.9.
Download this release
Release Info
Developer | hiddenpearls |
Plugin | Custom Login Page Customizer | LoginPress |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7 to 1.1.8
- classes/class-loginpress-log.php +16 -11
- classes/controls/radio-button.php +1 -0
- loginpress.php +2 -2
- readme.txt +6 -2
classes/class-loginpress-log.php
CHANGED
@@ -18,11 +18,13 @@ class LoginPress_Log_Info {
|
|
18 |
public static function get_sysinfo() {
|
19 |
|
20 |
global $wpdb;
|
21 |
-
$loginpress_setting
|
22 |
-
$loginpress_config
|
23 |
-
$session_expiration
|
24 |
-
$login_order
|
25 |
-
$customization
|
|
|
|
|
26 |
|
27 |
$html = '### Begin System Info ###' . "\n\n";
|
28 |
|
@@ -42,6 +44,9 @@ class LoginPress_Log_Info {
|
|
42 |
$html .= 'Plugin Version: ' . LOGINPRESS_VERSION . "\n";
|
43 |
$html .= 'Expiration: ' . $session_expiration . "\n";
|
44 |
$html .= 'Login Order: ' . ucfirst( $login_order ) . "\n";
|
|
|
|
|
|
|
45 |
$html .= 'Total Customized Fields: ' . count( $loginpress_config ) . "\n";
|
46 |
$html .= 'Customization Detail: ' . $customization . "\n";
|
47 |
|
@@ -57,11 +62,11 @@ class LoginPress_Log_Info {
|
|
57 |
$html .= 'Google Repatcha Status: ' . $enable_repatcha . "\n";
|
58 |
|
59 |
if ( 'on' == $enable_repatcha ) {
|
60 |
-
$site_key
|
61 |
-
$secret_key
|
62 |
-
$captcha_theme
|
63 |
-
$captcha_language
|
64 |
-
$captcha_enable_on = ( isset( $loginpress_setting['captcha_enable'] ) ) ? $loginpress_setting['captcha_enable']
|
65 |
|
66 |
$html .= 'Repatcha Site Key: ' . $site_key . "\n";
|
67 |
$html .= 'Repatcha Secret Key: ' . $secret_key . "\n";
|
@@ -117,7 +122,7 @@ class LoginPress_Log_Info {
|
|
117 |
$active_plugins = get_site_option( 'active_sitewide_plugins', array() );
|
118 |
foreach( $plugins as $plugin_path ) {
|
119 |
$plugin_base = plugin_basename( $plugin_path );
|
120 |
-
if( !array_key_exists( $plugin_base, $active_plugins ) )
|
121 |
continue;
|
122 |
$plugin = get_plugin_data( $plugin_path );
|
123 |
$html .= $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
|
18 |
public static function get_sysinfo() {
|
19 |
|
20 |
global $wpdb;
|
21 |
+
$loginpress_setting = get_option( 'loginpress_setting' );
|
22 |
+
$loginpress_config = get_option( 'loginpress_customization' );
|
23 |
+
$session_expiration = ( isset( $loginpress_setting['session_expiration'] ) && '0' != $loginpress_setting['session_expiration'] ) ? $loginpress_setting['session_expiration'] . ' Minute' : 'Not Set';
|
24 |
+
$login_order = isset( $loginpress_setting['login_order'] ) ? $loginpress_setting['login_order'] : 'Default';
|
25 |
+
$customization = isset( $loginpress_config ) ? print_r( $loginpress_config, true ) : 'No customization yet';
|
26 |
+
$lostpassword_url = isset( $loginpress_setting['lostpassword_url'] ) ? $loginpress_setting['lostpassword_url'] : 'off';
|
27 |
+
$_loginpassword_url = ( $lostpassword_url == 'on' ) ? 'WordPress Default' : "WooCommerce Custom URL";
|
28 |
|
29 |
$html = '### Begin System Info ###' . "\n\n";
|
30 |
|
44 |
$html .= 'Plugin Version: ' . LOGINPRESS_VERSION . "\n";
|
45 |
$html .= 'Expiration: ' . $session_expiration . "\n";
|
46 |
$html .= 'Login Order: ' . ucfirst( $login_order ) . "\n";
|
47 |
+
if ( class_exists( 'WooCommerce' ) ) {
|
48 |
+
$html .= 'Lost Password URL: ' . $_loginpassword_url . "\n";
|
49 |
+
}
|
50 |
$html .= 'Total Customized Fields: ' . count( $loginpress_config ) . "\n";
|
51 |
$html .= 'Customization Detail: ' . $customization . "\n";
|
52 |
|
62 |
$html .= 'Google Repatcha Status: ' . $enable_repatcha . "\n";
|
63 |
|
64 |
if ( 'on' == $enable_repatcha ) {
|
65 |
+
$site_key = ( isset( $loginpress_setting['site_key'] ) ) ? $loginpress_setting['site_key'] : 'Not Set';
|
66 |
+
$secret_key = ( isset( $loginpress_setting['secret_key'] ) ) ? $loginpress_setting['secret_key'] : 'Not Set';
|
67 |
+
$captcha_theme = ( isset( $loginpress_setting['captcha_theme'] ) ) ? $loginpress_setting['captcha_theme'] : 'Light';
|
68 |
+
$captcha_language = ( isset( $loginpress_setting['captcha_language'] ) ) ? $loginpress_setting['captcha_language'] : 'English (US)';
|
69 |
+
$captcha_enable_on = ( isset( $loginpress_setting['captcha_enable'] ) ) ? $loginpress_setting['captcha_enable'] : 'Not Set';
|
70 |
|
71 |
$html .= 'Repatcha Site Key: ' . $site_key . "\n";
|
72 |
$html .= 'Repatcha Secret Key: ' . $secret_key . "\n";
|
122 |
$active_plugins = get_site_option( 'active_sitewide_plugins', array() );
|
123 |
foreach( $plugins as $plugin_path ) {
|
124 |
$plugin_base = plugin_basename( $plugin_path );
|
125 |
+
if( ! array_key_exists( $plugin_base, $active_plugins ) )
|
126 |
continue;
|
127 |
$plugin = get_plugin_data( $plugin_path );
|
128 |
$html .= $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
|
classes/controls/radio-button.php
CHANGED
@@ -72,6 +72,7 @@ class LoginPress_Radio_Control extends WP_Customize_Control {
|
|
72 |
* @since 1.0.23
|
73 |
* @access public
|
74 |
* @return void
|
|
|
75 |
*/
|
76 |
public function render_content() {
|
77 |
?>
|
72 |
* @since 1.0.23
|
73 |
* @access public
|
74 |
* @return void
|
75 |
+
* @version 1.1.7
|
76 |
*/
|
77 |
public function render_content() {
|
78 |
?>
|
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.
|
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.
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
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.8
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: http://WPBrigade.com/
|
9 |
* Text Domain: loginpress
|
22 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
+
public $version = '1.1.8';
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -204,6 +204,10 @@ Please visit <a target="_blank" rel="friend" href="http://WPBrigade.com/wordpres
|
|
204 |
|
205 |
== Changelog ==
|
206 |
|
|
|
|
|
|
|
|
|
207 |
= 1.1.7 - 2018-07-13 =
|
208 |
* New Feature: Create a setting option "Lost Password URL" for using WordPress default forget form instead WooCommerce forget form.
|
209 |
* New Feature: Create a Hook for removing "Remember me" checkbox.
|
@@ -394,5 +398,5 @@ Please visit <a target="_blank" rel="friend" href="http://WPBrigade.com/wordpres
|
|
394 |
|
395 |
== Upgrade Notice ==
|
396 |
|
397 |
-
= 1.1.
|
398 |
* Important Release, upgrade immediately.
|
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.8
|
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.8 - 2018-08-08 =
|
208 |
+
* Update: log file.
|
209 |
+
* Compatibility: Compatible with WordPress 4.9.
|
210 |
+
|
211 |
= 1.1.7 - 2018-07-13 =
|
212 |
* New Feature: Create a setting option "Lost Password URL" for using WordPress default forget form instead WooCommerce forget form.
|
213 |
* New Feature: Create a Hook for removing "Remember me" checkbox.
|
398 |
|
399 |
== Upgrade Notice ==
|
400 |
|
401 |
+
= 1.1.8 =
|
402 |
* Important Release, upgrade immediately.
|