Release version 1.3.1

- Bugfix: Allow settings to be empty
- Bugfix: Removed space between the hyperlink and superscript in the footnotes index

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@967729 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-08-18 15:06:06 +00:00
parent 68351cbbaa
commit a138340491
6 changed files with 19 additions and 11 deletions

View file

@ -93,8 +93,8 @@ function MCI_Footnotes_ValidateOptions($p_arr_Options, $p_arr_Default, $p_bool_C
if (!empty($l_str_Value)) {
$p_arr_Options[$l_str_Key] = $l_str_Value;
// check if default value is defined
} else if (array_key_exists($l_str_Key, $p_arr_Default)) {
$p_arr_Options[$l_str_Key] = $p_arr_Default[$l_str_Key];
//} else if (array_key_exists($l_str_Key, $p_arr_Default)) {
// $p_arr_Options[$l_str_Key] = $p_arr_Default[$l_str_Key];
} else {
$p_arr_Options[$l_str_Key] = "";
}