Skip to content

Commit

Permalink
🐛 Fix setting white label link color not working
Browse files Browse the repository at this point in the history
  • Loading branch information
daomapsieucap committed May 20, 2022
1 parent 6339bcf commit f58277f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
== Changelog ==

= 2.0.7 =
*Release Date - 20 May 2022*

* Fixed: Fix setting white label link color not working.

= 2.0.6 =
*Release Date - 13 May 2022*

Expand Down
4 changes: 2 additions & 2 deletions fiberadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Fiber Admin
* Plugin URI: https://wordpress.org/plugins/fiber-admin/
* Description: 💈 Bring multiple customization features to make your own WordPress admin.
* Version: 2.0.6
* Version: 2.0.7
* Requires at least: 5.2
* Requires PHP: 7.0
* Author: Dao
Expand All @@ -25,7 +25,7 @@
* Definitions
*/

const FIBERADMIN_VERSION = '2.0.6';
const FIBERADMIN_VERSION = '2.0.7';
const FIBERADMIN_DEV_MODE = false;
const FIBERADMIN_FILENAME = __FILE__;
define("FIBERADMIN_DIR", plugin_dir_path(__FILE__));
Expand Down
2 changes: 1 addition & 1 deletion includes/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function fiad_login_css(){
}

// Link
if($form_link_color = fiad_get_general_option('form_link_color')){
if($form_link_color = fiad_get_general_option('link_color')){
$form_css .= '#login a{ color: ' . $form_link_color . ';}';
}

Expand Down
4 changes: 2 additions & 2 deletions includes/settings/white-label.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ public function fiad_link(){
?>
<fieldset class="fiber-admin-input__multiples fiber-color-group">
<label class="fiber-admin-input__label"
for="form_link_color"><?php echo __('Privacy Link Color', 'fiber-admin'); ?></label>
<input id="form_link_color" class="fiber-color-field" name="fiber_admin[link_color]" type="text"
for="link_color"><?php echo __('Link Color', 'fiber-admin'); ?></label>
<input id="link_color" class="fiber-color-field" name="fiber_admin[link_color]" type="text"
value="<?php echo esc_attr(fiad_get_general_option('link_color')); ?>"/>
</fieldset>
<?php
Expand Down
8 changes: 4 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: white label, admin tool, duplicate post, content protection
Requires at least: 4.7
Tested up to: 5.9.3
Requires PHP: 7.0
Stable tag: 2.0.6
Stable tag: 2.0.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -46,7 +46,7 @@ At the first time using this setting, Fiber Admin will ask you to save it to cre

== Changelog ==

= 2.0.6 =
*Release Date - 13 May 2022*
= 2.0.7 =
*Release Date - 20 May 2022*

* Fixed: Fix duplicate width height attribute for SVG images.
* Fixed: Fix setting white label link color not working.

0 comments on commit f58277f

Please sign in to comment.