Version Description
- Major bug fix on backend.
- Striped slashes from apostrophe texts.
Download this release
Release Info
Developer | libinvbabu |
Plugin | Erident Custom Login and Dashboard |
Version | 3.1 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.1
- er-custom-login.php +16 -12
- readme.txt +7 -3
er-custom-login.php
CHANGED
@@ -5,7 +5,7 @@ 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.
|
9 |
Author: Libin V Babu
|
10 |
Author URI: http://www.libin.in/
|
11 |
License: GPL
|
@@ -52,14 +52,14 @@ add_filter('admin_footer_text', 'left_admin_footer_text_output'); //left side
|
|
52 |
function left_admin_footer_text_output($er_left) {
|
53 |
/*Get all options from db */
|
54 |
$er_options = get_option('plugin_erident_settings');
|
55 |
-
return $er_options['dashboard_data_left'];
|
56 |
}
|
57 |
|
58 |
add_filter('update_footer', 'right_admin_footer_text_output', 11); //right side
|
59 |
function right_admin_footer_text_output($er_right) {
|
60 |
/*Get all options from db */
|
61 |
$er_options = get_option('plugin_erident_settings');
|
62 |
-
return $er_options['dashboard_data_right'];
|
63 |
}
|
64 |
|
65 |
/* Login Logo */
|
@@ -162,7 +162,7 @@ add_filter( 'login_headerurl', 'my_login_logo_url' );
|
|
162 |
function er_login_logo_url_title() {
|
163 |
/*Get all options from db */
|
164 |
$er_options = get_option('plugin_erident_settings');
|
165 |
-
return $er_options['dashboard_power_text'];
|
166 |
}
|
167 |
add_filter( 'login_headertitle', 'er_login_logo_url_title' );
|
168 |
|
@@ -278,11 +278,15 @@ function wp_erident_dashboard_install() {
|
|
278 |
);
|
279 |
|
280 |
// if old options exist, update to new system
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
|
|
|
|
|
|
|
|
286 |
|
287 |
add_option( 'plugin_erident_settings', $er_new_options );
|
288 |
}
|
@@ -354,7 +358,7 @@ $er_options = get_option('plugin_erident_settings');
|
|
354 |
<th scope="row"><?php _e( 'Enter the text for dashboard left side footer:', 'erident-custom-login-and-dashboard' ); ?></th>
|
355 |
<td>
|
356 |
<input class="er-textfield" name="er_options_up[dashboard_data_left]" type="text" id="wp_erident_dashboard_data_left"
|
357 |
-
value="<?php echo esc_html( $er_options['dashboard_data_left'] ); ?>" placeholder="Text for dashboard left side footer" />
|
358 |
<br />
|
359 |
<span class="description"><?php _e( 'This will replace the default "Thank you for creating with WordPress" on the bottom left side of dashboard', 'erident-custom-login-and-dashboard' ); ?></span>
|
360 |
</td>
|
@@ -362,7 +366,7 @@ value="<?php echo esc_html( $er_options['dashboard_data_left'] ); ?>" placeholde
|
|
362 |
<tr valign="top">
|
363 |
<th scope="row"><?php _e( 'Enter the text for dashboard right side footer:', 'erident-custom-login-and-dashboard' ); ?></th>
|
364 |
<td><input class="er-textfield" name="er_options_up[dashboard_data_right]" type="text" id="wp_erident_dashboard_data_right"
|
365 |
-
value="<?php echo esc_html( $er_options['dashboard_data_right'] ); ?>" placeholder="Text for dashboard left right footer" />
|
366 |
<br />
|
367 |
<span class="description"><?php _e( 'This will replace the default "WordPress Version" on the bottom right side of dashboard', 'erident-custom-login-and-dashboard' ); ?></span>
|
368 |
</td>
|
@@ -499,7 +503,7 @@ value="<?php echo $er_options['dashboard_image_logo_height']; ?>" />px
|
|
499 |
<tr valign="top">
|
500 |
<th scope="row"><?php _e( 'Powered by Text:', 'erident-custom-login-and-dashboard' ); ?></th>
|
501 |
<td><input class="er-textfield" name="er_options_up[dashboard_power_text]" type="text" id="wp_erident_dashboard_power_text"
|
502 |
-
value="<?php echo $er_options['dashboard_power_text']; ?>" />
|
503 |
<br />
|
504 |
<span class="description"><?php _e( 'Show when mouse hover over custom Login logo', 'erident-custom-login-and-dashboard' ); ?></span>
|
505 |
</td>
|
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.1
|
9 |
Author: Libin V Babu
|
10 |
Author URI: http://www.libin.in/
|
11 |
License: GPL
|
52 |
function left_admin_footer_text_output($er_left) {
|
53 |
/*Get all options from db */
|
54 |
$er_options = get_option('plugin_erident_settings');
|
55 |
+
return stripslashes($er_options['dashboard_data_left']);
|
56 |
}
|
57 |
|
58 |
add_filter('update_footer', 'right_admin_footer_text_output', 11); //right side
|
59 |
function right_admin_footer_text_output($er_right) {
|
60 |
/*Get all options from db */
|
61 |
$er_options = get_option('plugin_erident_settings');
|
62 |
+
return stripslashes($er_options['dashboard_data_right']);
|
63 |
}
|
64 |
|
65 |
/* Login Logo */
|
162 |
function er_login_logo_url_title() {
|
163 |
/*Get all options from db */
|
164 |
$er_options = get_option('plugin_erident_settings');
|
165 |
+
return stripslashes($er_options['dashboard_power_text']);
|
166 |
}
|
167 |
add_filter( 'login_headertitle', 'er_login_logo_url_title' );
|
168 |
|
278 |
);
|
279 |
|
280 |
// if old options exist, update to new system
|
281 |
+
$check_db_key = get_option( 'wp_erident_dashboard_delete_db');
|
282 |
+
|
283 |
+
if(!empty($check_db_key)) {
|
284 |
+
foreach( $er_new_options as $key => $value ) {
|
285 |
+
$existing = get_option( 'wp_erident_' . $key );
|
286 |
+
$er_new_options[$key] = $existing;
|
287 |
+
delete_option( 'wp_erident_' . $key );
|
288 |
+
}
|
289 |
+
}
|
290 |
|
291 |
add_option( 'plugin_erident_settings', $er_new_options );
|
292 |
}
|
358 |
<th scope="row"><?php _e( 'Enter the text for dashboard left side footer:', 'erident-custom-login-and-dashboard' ); ?></th>
|
359 |
<td>
|
360 |
<input class="er-textfield" name="er_options_up[dashboard_data_left]" type="text" id="wp_erident_dashboard_data_left"
|
361 |
+
value="<?php echo esc_html( stripslashes($er_options['dashboard_data_left'] )); ?>" placeholder="Text for dashboard left side footer" />
|
362 |
<br />
|
363 |
<span class="description"><?php _e( 'This will replace the default "Thank you for creating with WordPress" on the bottom left side of dashboard', 'erident-custom-login-and-dashboard' ); ?></span>
|
364 |
</td>
|
366 |
<tr valign="top">
|
367 |
<th scope="row"><?php _e( 'Enter the text for dashboard right side footer:', 'erident-custom-login-and-dashboard' ); ?></th>
|
368 |
<td><input class="er-textfield" name="er_options_up[dashboard_data_right]" type="text" id="wp_erident_dashboard_data_right"
|
369 |
+
value="<?php echo esc_html( stripslashes($er_options['dashboard_data_right'] )); ?>" placeholder="Text for dashboard left right footer" />
|
370 |
<br />
|
371 |
<span class="description"><?php _e( 'This will replace the default "WordPress Version" on the bottom right side of dashboard', 'erident-custom-login-and-dashboard' ); ?></span>
|
372 |
</td>
|
503 |
<tr valign="top">
|
504 |
<th scope="row"><?php _e( 'Powered by Text:', 'erident-custom-login-and-dashboard' ); ?></th>
|
505 |
<td><input class="er-textfield" name="er_options_up[dashboard_power_text]" type="text" id="wp_erident_dashboard_power_text"
|
506 |
+
value="<?php echo stripslashes($er_options['dashboard_power_text']); ?>" />
|
507 |
<br />
|
508 |
<span class="description"><?php _e( 'Show when mouse hover over custom Login logo', 'erident-custom-login-and-dashboard' ); ?></span>
|
509 |
</td>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.libin.in
|
|
4 |
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -118,6 +118,10 @@ Yeah! With version 3.0 Import/Export plugin settings feature added. Your life ma
|
|
118 |
|
119 |
== Changelog ==
|
120 |
|
|
|
|
|
|
|
|
|
121 |
= 3.0 =
|
122 |
* Huge database performance upgrade on backend
|
123 |
* Added Import/Export settings feature
|
@@ -181,5 +185,5 @@ Yeah! With version 3.0 Import/Export plugin settings feature added. Your life ma
|
|
181 |
|
182 |
== Upgrade Notice ==
|
183 |
|
184 |
-
= 3.
|
185 |
-
|
4 |
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 3.1
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
118 |
|
119 |
== Changelog ==
|
120 |
|
121 |
+
= 3.1 =
|
122 |
+
* Major bug fix on backend.
|
123 |
+
* Striped slashes from apostrophe texts.
|
124 |
+
|
125 |
= 3.0 =
|
126 |
* Huge database performance upgrade on backend
|
127 |
* Added Import/Export settings feature
|
185 |
|
186 |
== Upgrade Notice ==
|
187 |
|
188 |
+
= 3.1 =
|
189 |
+
Major bug fix on backend.
|