Erident Custom Login and Dashboard - Version 4.2

Version Description

| July 21, 2022 = * Fixed: Only show migration notice to users with the mandatory capabilities. * Notice: This version fixes an issue where non-admins were able to trigger the migration process which fails to install Ultimate Dashboard. If thats been the case for you, please install Ultimate Dashboard manually. Your data was already migrated successfully.

Download this release

Release Info

Developer davidvongries
Plugin Icon 128x128 Erident Custom Login and Dashboard
Version 4.2
Comparing to
See all releases

Code changes from version 4.1.1 to 4.2

Files changed (3) hide show
  1. class-setup.php +9 -0
  2. er-custom-login.php +2 -2
  3. readme.txt +7 -1
class-setup.php CHANGED
@@ -272,6 +272,10 @@ class Setup {
272
  */
273
  public function migration_notice_scripts() {
274
 
 
 
 
 
275
  wp_enqueue_script('updates');
276
 
277
  wp_enqueue_style( 'cldashboard-migration', CUSTOM_LOGIN_DASHBOARD_PLUGIN_URL . '/assets/css/migration.css', array(), CUSTOM_LOGIN_DASHBOARD_PLUGIN_VERSION );
@@ -323,6 +327,11 @@ class Setup {
323
  * Notice about migration to "Ultimate Dashboard".
324
  */
325
  public function migration_notice() {
 
 
 
 
 
326
  ?>
327
 
328
  <div class="notice notice-error cldashboard-migration-notice is-dismissible" style="border: 1px solid #e5e5e5;">
272
  */
273
  public function migration_notice_scripts() {
274
 
275
+ if ( ! current_user_can( 'manage_options' ) ) {
276
+ return;
277
+ }
278
+
279
  wp_enqueue_script('updates');
280
 
281
  wp_enqueue_style( 'cldashboard-migration', CUSTOM_LOGIN_DASHBOARD_PLUGIN_URL . '/assets/css/migration.css', array(), CUSTOM_LOGIN_DASHBOARD_PLUGIN_VERSION );
327
  * Notice about migration to "Ultimate Dashboard".
328
  */
329
  public function migration_notice() {
330
+
331
+ if ( ! current_user_can( 'manage_options' ) ) {
332
+ return;
333
+ }
334
+
335
  ?>
336
 
337
  <div class="notice notice-error cldashboard-migration-notice is-dismissible" style="border: 1px solid #e5e5e5;">
er-custom-login.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Fully customize the WordPress Login Screen.
6
  * Text Domain: erident-custom-login-and-dashboard
7
  * Domain Path: /languages
8
- * Version: 4.1.1
9
  * Author: David Vongries
10
  * Author URI: https://davidvongries.com/
11
  * License: GPL-3.0
@@ -17,7 +17,7 @@
17
  define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_DIR', rtrim( plugin_dir_path( __FILE__ ), '/' ) );
18
  define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
19
  define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
20
- define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_VERSION', '4.1.1' );
21
 
22
  load_plugin_textdomain( 'erident-custom-login-and-dashboard', false, basename( dirname( __FILE__ ) ) . '/languages/' );
23
 
5
  * Description: Fully customize the WordPress Login Screen.
6
  * Text Domain: erident-custom-login-and-dashboard
7
  * Domain Path: /languages
8
+ * Version: 4.2
9
  * Author: David Vongries
10
  * Author URI: https://davidvongries.com/
11
  * License: GPL-3.0
17
  define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_DIR', rtrim( plugin_dir_path( __FILE__ ), '/' ) );
18
  define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
19
  define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
20
+ define( 'CUSTOM_LOGIN_DASHBOARD_PLUGIN_VERSION', '4.2' );
21
 
22
  load_plugin_textdomain( 'erident-custom-login-and-dashboard', false, basename( dirname( __FILE__ ) ) . '/languages/' );
23
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: davidvongries, libinvbabu
3
  Tags: login, customisation, admin, dashboard, customise, erident, custom login, form, logo, customize, branding, login customizer, CSS, admin login, white label, login background, custom login page
4
  Requires at least: 3.0.0
5
  Tested up to: 6.0
6
- Stable tag: 4.1.1
7
  Requires PHP: 5.6
8
  License: GPL-3.0 License
9
  License URI: https://oss.ninja/gpl-3.0?organization=David%20Vongries&project=Erident%20Custom%20Login%20and%20Dashboard
@@ -15,6 +15,8 @@ Fully customize the WordPress Login Screen.
15
 
16
  **If you are an existing user of the Erident plugin you will be greeted with a 1-click migration to safely migrate from Erident to Ultimate Dashboard from your WordPress admin dashboard.**
17
 
 
 
18
  Erident Custom Login and Dashboard is the #1 rated Plugin to customize the WordPress Login Screen. It's a clean & minimalist way for you to fully customize almost all aspects of the WordPress Login Page.
19
 
20
  Create a custom WordPress login page with just a few clicks! All the settings to customize the WordPress login are located under Settings > Custom Login & Dashboard.
@@ -56,6 +58,10 @@ Yes! For more options and to fully customize the WordPress dashboard, check out
56
  4. Customized WordPress Login Screen (Example 2)
57
 
58
  == Changelog ==
 
 
 
 
59
  = 4.1.1 | July 20, 2022 =
60
  * Fixed: Erident sets the logo URL to the site URL by default. This was skipped during the migration and is now fixed.
61
 
3
  Tags: login, customisation, admin, dashboard, customise, erident, custom login, form, logo, customize, branding, login customizer, CSS, admin login, white label, login background, custom login page
4
  Requires at least: 3.0.0
5
  Tested up to: 6.0
6
+ Stable tag: 4.2
7
  Requires PHP: 5.6
8
  License: GPL-3.0 License
9
  License URI: https://oss.ninja/gpl-3.0?organization=David%20Vongries&project=Erident%20Custom%20Login%20and%20Dashboard
15
 
16
  **If you are an existing user of the Erident plugin you will be greeted with a 1-click migration to safely migrate from Erident to Ultimate Dashboard from your WordPress admin dashboard.**
17
 
18
+ **IMPORTANT! Please make sure you have the latest version of the Erident plugin (4.2) installed before running the 1-click migration. The latest version fixes an earlier issue where non-admins were able to trigger the migration process which failed to install Ultimate Dashboard. If that’s been the case for you, please [install Ultimate Dashboard](https://wordpress.org/plugins/ultimate-dashboard/) manually. Your data was already migrated successfully.**
19
+
20
  Erident Custom Login and Dashboard is the #1 rated Plugin to customize the WordPress Login Screen. It's a clean & minimalist way for you to fully customize almost all aspects of the WordPress Login Page.
21
 
22
  Create a custom WordPress login page with just a few clicks! All the settings to customize the WordPress login are located under Settings > Custom Login & Dashboard.
58
  4. Customized WordPress Login Screen (Example 2)
59
 
60
  == Changelog ==
61
+ = 4.2 | July 21, 2022 =
62
+ * Fixed: Only show migration notice to users with the mandatory capabilities.
63
+ * **Notice:** This version fixes an issue where non-admins were able to trigger the migration process which fails to install Ultimate Dashboard. If that’s been the case for you, please install Ultimate Dashboard manually. Your data was already migrated successfully.
64
+
65
  = 4.1.1 | July 20, 2022 =
66
  * Fixed: Erident sets the logo URL to the site URL by default. This was skipped during the migration and is now fixed.
67