Version Description
(6 Feb 2017) = * Fixed warning in dashboard * Minor CSS improvement on register page
Download this release
Release Info
Developer | libinvbabu |
Plugin | Erident Custom Login and Dashboard |
Version | 3.5.3 |
Comparing to | |
See all releases |
Code changes from version 3.5.2 to 3.5.3
- er-custom-login.php +4 -35
- readme.txt +8 -4
er-custom-login.php
CHANGED
@@ -5,13 +5,13 @@ Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashb
|
|
5 |
Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles, button color etc. Customize your Dashboard footer text also for complete branding.
|
6 |
Text Domain: erident-custom-login-and-dashboard
|
7 |
Domain Path: /languages
|
8 |
-
Version: 3.5.
|
9 |
Author: Libin V Babu
|
10 |
Author URI: http://www.libin.in/
|
11 |
License: GPL
|
12 |
*/
|
13 |
|
14 |
-
/* Copyright
|
15 |
|
16 |
This program is free software; you can redistribute it and/or modify
|
17 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -162,7 +162,7 @@ function er_login_logo() {
|
|
162 |
-webkit-box-shadow: <?php echo $er_login_form_shadow ?>;
|
163 |
box-shadow: <?php echo $er_login_form_shadow ?>;
|
164 |
}
|
165 |
-
body.login div#login form p label {
|
166 |
color:<?php echo $er_options['dashboard_text_color'] ?>;
|
167 |
font-size:<?php echo $er_options['dashboard_label_text_size'] ?>px;
|
168 |
}
|
@@ -280,43 +280,12 @@ register_activation_hook(__FILE__,'wp_erident_dashboard_install');
|
|
280 |
/* Runs on plugin deactivation*/
|
281 |
register_deactivation_hook( __FILE__, 'wp_erident_dashboard_remove' );
|
282 |
|
283 |
-
/* Runs when plugin updated to 3.5.2 */
|
284 |
-
add_action( 'upgrader_process_complete', 'er_upgrade_function',10, 2);
|
285 |
-
|
286 |
-
function er_upgrade_function( $upgrader_object, $options ) {
|
287 |
-
$current_plugin_path_name = plugin_basename( __FILE__ );
|
288 |
-
|
289 |
-
if ($options['action'] == 'update' && $options['type'] == 'plugin' ){
|
290 |
-
foreach($options['packages'] as $each_plugin){
|
291 |
-
if ($each_plugin==$current_plugin_path_name){
|
292 |
-
wp_erident_dashboard_update();
|
293 |
-
}
|
294 |
-
}
|
295 |
-
}
|
296 |
-
}
|
297 |
-
|
298 |
-
if (isset($_GET['update_db'])) {
|
299 |
-
wp_erident_dashboard_update();
|
300 |
-
}
|
301 |
-
|
302 |
-
function wp_erident_dashboard_update(){
|
303 |
-
$existingOptions = get_option('plugin_erident_settings');
|
304 |
-
$newOptions = array(
|
305 |
-
'dashboard_check_lost_pass' => 'No',
|
306 |
-
'dashboard_check_backtoblog' => 'No'
|
307 |
-
);
|
308 |
-
|
309 |
-
$options = array_merge($existingOptions, $newOptions);
|
310 |
-
update_option('plugin_erident_settings', $options);
|
311 |
-
}
|
312 |
-
|
313 |
-
|
314 |
function wp_erident_dashboard_install() {
|
315 |
/* Creates new database field */
|
316 |
|
317 |
$er_new_options = array(
|
318 |
'dashboard_data_left' => 'Powered by YourWebsiteName',
|
319 |
-
|
320 |
'dashboard_image_logo' => plugins_url('images/default-logo.png', __FILE__),
|
321 |
'dashboard_image_logo_width' => '274',
|
322 |
'dashboard_image_logo_height' => '63',
|
5 |
Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles, button color etc. Customize your Dashboard footer text also for complete branding.
|
6 |
Text Domain: erident-custom-login-and-dashboard
|
7 |
Domain Path: /languages
|
8 |
+
Version: 3.5.3
|
9 |
Author: Libin V Babu
|
10 |
Author URI: http://www.libin.in/
|
11 |
License: GPL
|
12 |
*/
|
13 |
|
14 |
+
/* Copyright 2017 Libin V Babu (email : libin@libin.in)
|
15 |
|
16 |
This program is free software; you can redistribute it and/or modify
|
17 |
it under the terms of the GNU General Public License, version 2, as
|
162 |
-webkit-box-shadow: <?php echo $er_login_form_shadow ?>;
|
163 |
box-shadow: <?php echo $er_login_form_shadow ?>;
|
164 |
}
|
165 |
+
body.login div#login form p label, p#reg_passmail {
|
166 |
color:<?php echo $er_options['dashboard_text_color'] ?>;
|
167 |
font-size:<?php echo $er_options['dashboard_label_text_size'] ?>px;
|
168 |
}
|
280 |
/* Runs on plugin deactivation*/
|
281 |
register_deactivation_hook( __FILE__, 'wp_erident_dashboard_remove' );
|
282 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
function wp_erident_dashboard_install() {
|
284 |
/* Creates new database field */
|
285 |
|
286 |
$er_new_options = array(
|
287 |
'dashboard_data_left' => 'Powered by YourWebsiteName',
|
288 |
+
'dashboard_data_right' => '© 2017 All Rights Reserved',
|
289 |
'dashboard_image_logo' => plugins_url('images/default-logo.png', __FILE__),
|
290 |
'dashboard_image_logo_width' => '274',
|
291 |
'dashboard_image_logo_height' => '63',
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: libinvbabu
|
|
3 |
Donate link: https://www.paypal.me/LibinVBabu/25
|
4 |
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
-
Tested up to: 4.7
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -131,6 +131,10 @@ You can achieve it by either using a transparent png/gif image or you can use th
|
|
131 |
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
|
|
134 |
= 3.5.2 =
|
135 |
* Hide Register | Lost your password link
|
136 |
* Hide Back to your website link
|
@@ -231,5 +235,5 @@ You can achieve it by either using a transparent png/gif image or you can use th
|
|
231 |
|
232 |
== Upgrade Notice ==
|
233 |
|
234 |
-
= 3.5.
|
235 |
-
|
3 |
Donate link: https://www.paypal.me/LibinVBabu/25
|
4 |
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
+
Tested up to: 4.7.2
|
7 |
+
Stable tag: 3.5.3
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= 3.5.3 (6 Feb 2017) =
|
135 |
+
* Fixed warning in dashboard
|
136 |
+
* Minor CSS improvement on register page
|
137 |
+
|
138 |
= 3.5.2 =
|
139 |
* Hide Register | Lost your password link
|
140 |
* Hide Back to your website link
|
235 |
|
236 |
== Upgrade Notice ==
|
237 |
|
238 |
+
= 3.5.3 =
|
239 |
+
Fixed warning in dashboard and minor css improvement
|