Custom Login Page Customizer by Colorlib - Version 1.2.95

Version Description

  • Review request bug fix
  • Review save bug fix
Download this release

Release Info

Developer giucu91
Plugin Icon wp plugin Custom Login Page Customizer by Colorlib
Version 1.2.95
Comparing to
See all releases

Code changes from version 1.2.94 to 1.2.95

colorlib-login-customizer.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: Colorlib Login Customizer
4
- * Version: 1.2.94
5
  * Description: Colorlib Login Customizer is an awesome and intuitive plugin that helps you personalize your login form directly from the Customizer. The plugin fully supports the Live Customizer feature and you can see all the changes in real time and edit them.
6
  * Author: Colorlib
7
  * Author URI: https://colorlib.com/
8
- * Tested up to: 5.2
9
  * Requires: 4.6 or higher
10
  * License: GPLv3 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
1
  <?php
2
  /**
3
  * Plugin Name: Colorlib Login Customizer
4
+ * Version: 1.2.95
5
  * Description: Colorlib Login Customizer is an awesome and intuitive plugin that helps you personalize your login form directly from the Customizer. The plugin fully supports the Live Customizer feature and you can see all the changes in real time and edit them.
6
  * Author: Colorlib
7
  * Author URI: https://colorlib.com/
8
+ * Tested up to: 5.3
9
  * Requires: 4.6 or higher
10
  * License: GPLv3 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
includes/class-colorlib-login-customizer-review.php CHANGED
@@ -60,18 +60,18 @@ class CLC_Review {
60
 
61
  $options = get_option( 'clc-options' );
62
  $option = isset( $options['givemereview'] ) ? $options['givemereview'] : '';
63
- $currDate = date( 'Y-m-d' );
64
  if ( 'already-rated' == $option ) {
65
  return false;
66
  }
67
 
68
- if ( $this->value == $option ) {
69
- return false;
70
- }
71
 
72
  if ( is_array( $this->when ) ) {
73
  foreach ( $this->when as $et ) {
74
- if ( date( 'Y-m-d', strtotime( $currDate . ' +' . $et . ' days' ) ) == $this->value ) {
75
  return true;
76
  }
77
 
@@ -122,7 +122,7 @@ class CLC_Review {
122
  $options = get_option( 'clc-options', array() );
123
 
124
  if ( isset( $_POST['epsilon-review'] ) ) {
125
- $options['givemereview'] = 'already-rated';
126
  } else {
127
  $options['givemereview'] = $this->value;
128
  }
60
 
61
  $options = get_option( 'clc-options' );
62
  $option = isset( $options['givemereview'] ) ? $options['givemereview'] : '';
63
+
64
  if ( 'already-rated' == $option ) {
65
  return false;
66
  }
67
 
68
+ if ($this->value == $option && '' != $option) {
69
+ return false;
70
+ }
71
 
72
  if ( is_array( $this->when ) ) {
73
  foreach ( $this->when as $et ) {
74
+ if ( $et == $this->value ) {
75
  return true;
76
  }
77
 
122
  $options = get_option( 'clc-options', array() );
123
 
124
  if ( isset( $_POST['epsilon-review'] ) ) {
125
+ $options['givemereview'] = "already-rated";
126
  } else {
127
  $options['givemereview'] = $this->value;
128
  }
languages/colorlib-login-customizer.po CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2019 Colorlib
2
  # This file is distributed under the GPLv3 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Colorlib Login Customizer 1.2.94\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/colorlib-login-customizer\n"
8
- "POT-Creation-Date: 2019-10-17 15:22:07+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "Language: en\n"
1
+ # Copyright (C) 2020 Colorlib
2
  # This file is distributed under the GPLv3 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Colorlib Login Customizer 1.2.95\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/colorlib-login-customizer\n"
8
+ "POT-Creation-Date: 2020-01-20 08:10:36+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "Language: en\n"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: silkalns
3
  Tags: customize login, login, custom login, customize wordpress login, wordpress login, customizer, custom admin, login logo, logo, login customizer, custom wp-login
4
  Requires at least: 4.7
5
- Tested up to: 5.2
6
- Stable tag: 1.2.94
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -93,6 +93,10 @@ If you enjoy using Colorlib Login Customizer for WordPress please leave a [posit
93
 
94
  == Changelog ==
95
 
 
 
 
 
96
  = 1.2.94 =
97
  * Minor responsive fixes
98
 
2
  Contributors: silkalns
3
  Tags: customize login, login, custom login, customize wordpress login, wordpress login, customizer, custom admin, login logo, logo, login customizer, custom wp-login
4
  Requires at least: 4.7
5
+ Tested up to: 5.3
6
+ Stable tag: 1.2.95
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
93
 
94
  == Changelog ==
95
 
96
+ = 1.2.95 =
97
+ * Review request bug fix
98
+ * Review save bug fix
99
+
100
  = 1.2.94 =
101
  * Minor responsive fixes
102