Version Description
- 2018-03-31 =
- Bugfix: addons notice links
Download this release
Release Info
Developer | hiddenpearls |
Plugin | Custom Login Page Customizer | LoginPress |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- loginpress.php +8 -8
- readme.txt +6 -3
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
|
@@ -457,7 +457,7 @@ if ( ! class_exists( 'LoginPress' ) ) :
|
|
457 |
$this->loginpress_addon_dismissal();
|
458 |
|
459 |
$activation_time = get_site_option( 'loginpress_addon_active_time' );
|
460 |
-
$addon_dismissal = get_site_option( '
|
461 |
|
462 |
if ( 'yes' == $addon_dismissal ) return;
|
463 |
|
@@ -586,13 +586,13 @@ if ( ! class_exists( 'LoginPress' ) ) :
|
|
586 |
public function loginpress_addon_notice_text() {
|
587 |
|
588 |
$scheme = ( parse_url( $_SERVER['REQUEST_URI'], PHP_URL_QUERY ) ) ? '&' : '?';
|
589 |
-
$url = $_SERVER['REQUEST_URI'] . $scheme . '
|
590 |
$dismiss_url = wp_nonce_url( $url, 'loginpress-addon-nonce' );
|
591 |
wp_enqueue_style( 'loginpress_review_stlye', plugins_url( 'css/style-review.css', __FILE__ ), array(), LOGINPRESS_VERSION );
|
592 |
?>
|
593 |
<div class="loginpress-alert-notice">
|
594 |
<a href="<?php echo $dismiss_url ?>" class="notice-dismiss" ><span class="screen-reader-text"></span></a>
|
595 |
-
<a href="
|
596 |
<div class="loginpress-alert-thumbnail">
|
597 |
<img src="<?php echo plugins_url( 'img/notification_logo.svg', __FILE__ ) ?>" alt="">
|
598 |
</div>
|
@@ -602,7 +602,7 @@ if ( ! class_exists( 'LoginPress' ) ) :
|
|
602 |
</div>
|
603 |
</a>
|
604 |
<div class="loginpress-alert-button-section">
|
605 |
-
<a href="" class="loginpress-alert-button" target="
|
606 |
</div>
|
607 |
</div>
|
608 |
<?php
|
@@ -619,12 +619,12 @@ if ( ! class_exists( 'LoginPress' ) ) :
|
|
619 |
! current_user_can( 'manage_options' ) ||
|
620 |
! isset( $_GET['_wpnonce'] ) ||
|
621 |
! wp_verify_nonce( sanitize_key( wp_unslash( $_GET['_wpnonce'] ) ), 'loginpress-addon-nonce' ) ||
|
622 |
-
! isset( $_GET['
|
623 |
|
624 |
return;
|
625 |
endif;
|
626 |
|
627 |
-
add_site_option( '
|
628 |
}
|
629 |
|
630 |
/**
|
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 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
+
public $version = '1.1.4';
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
457 |
$this->loginpress_addon_dismissal();
|
458 |
|
459 |
$activation_time = get_site_option( 'loginpress_addon_active_time' );
|
460 |
+
$addon_dismissal = get_site_option( 'loginpress_addon_dismiss_1' );
|
461 |
|
462 |
if ( 'yes' == $addon_dismissal ) return;
|
463 |
|
586 |
public function loginpress_addon_notice_text() {
|
587 |
|
588 |
$scheme = ( parse_url( $_SERVER['REQUEST_URI'], PHP_URL_QUERY ) ) ? '&' : '?';
|
589 |
+
$url = $_SERVER['REQUEST_URI'] . $scheme . 'loginpress_addon_dismiss_1=yes';
|
590 |
$dismiss_url = wp_nonce_url( $url, 'loginpress-addon-nonce' );
|
591 |
wp_enqueue_style( 'loginpress_review_stlye', plugins_url( 'css/style-review.css', __FILE__ ), array(), LOGINPRESS_VERSION );
|
592 |
?>
|
593 |
<div class="loginpress-alert-notice">
|
594 |
<a href="<?php echo $dismiss_url ?>" class="notice-dismiss" ><span class="screen-reader-text"></span></a>
|
595 |
+
<a href="https://wpbrigade.com/wordpress/plugins/loginpress/addons/?utm_source=loginpress-lite&utm_medium=addons-notice-banner&utm_campaign=pro-upgrade" class="loginpress-addon-notice-link" target="_blank">
|
596 |
<div class="loginpress-alert-thumbnail">
|
597 |
<img src="<?php echo plugins_url( 'img/notification_logo.svg', __FILE__ ) ?>" alt="">
|
598 |
</div>
|
602 |
</div>
|
603 |
</a>
|
604 |
<div class="loginpress-alert-button-section">
|
605 |
+
<a href="https://wpbrigade.com/wordpress/plugins/loginpress/addons/?utm_source=loginpress-lite&utm_medium=addons-notice-more&utm_campaign=pro-upgrade" class="loginpress-alert-button" target="_blank"><?php _e( 'Learn More', 'loginpress' ) ?></a>
|
606 |
</div>
|
607 |
</div>
|
608 |
<?php
|
619 |
! current_user_can( 'manage_options' ) ||
|
620 |
! isset( $_GET['_wpnonce'] ) ||
|
621 |
! wp_verify_nonce( sanitize_key( wp_unslash( $_GET['_wpnonce'] ) ), 'loginpress-addon-nonce' ) ||
|
622 |
+
! isset( $_GET['loginpress_addon_dismiss_1'] ) ) :
|
623 |
|
624 |
return;
|
625 |
endif;
|
626 |
|
627 |
+
add_site_option( 'loginpress_addon_dismiss_1', 'yes' );
|
628 |
}
|
629 |
|
630 |
/**
|
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,7 +204,10 @@ Please visit <a target="_blank" rel="friend" href="http://WPBrigade.com/wordpres
|
|
204 |
|
205 |
== Changelog ==
|
206 |
|
207 |
-
= 1.1.
|
|
|
|
|
|
|
208 |
* New Feature: Compatible with Multisite.
|
209 |
* New Feature: Introducing Tool tips in customizer.
|
210 |
* New Feature: Introducing Login Logo (Enable / Disable) control.
|
@@ -368,5 +371,5 @@ Please visit <a target="_blank" rel="friend" href="http://WPBrigade.com/wordpres
|
|
368 |
|
369 |
== Upgrade Notice ==
|
370 |
|
371 |
-
= 1.1.
|
372 |
* 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.4
|
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.4 - 2018-03-31 =
|
208 |
+
* Bugfix: addons notice links
|
209 |
+
|
210 |
+
= 1.1.3 - 2018-03-30 =
|
211 |
* New Feature: Compatible with Multisite.
|
212 |
* New Feature: Introducing Tool tips in customizer.
|
213 |
* New Feature: Introducing Login Logo (Enable / Disable) control.
|
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.
|