release 2.2.4 to replace 2.2.3 ASAP

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2440595 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-12-16 12:06:11 +00:00
parent f3318e524f
commit e5831a42b3
12 changed files with 96 additions and 45 deletions

View file

@ -30,7 +30,7 @@
* 2.2.0 support for custom position shortcode for reference container 2020-12-13T2058+0100
* 2.2.3 custom CSS from new setting in header after legacy 2020-12-15T1128+0100
*
* Last modified: 2020-12-15T1128+0100
* Last modified: 2020-12-15T1140+0100
*/
// If called directly, abort:
@ -258,11 +258,13 @@ class MCI_Footnotes_Task {
printf(" box-shadow: 2px 2px 11px %s;", $l_str_BoxShadowColor);
}
echo "}\r\n";
// set custom CSS to override settings, not conversely:
echo MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS);
// if dashboard tab migration acknowledged, disable legacy in case it was not cut:
if (!MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_CUSTOM_CSS_MIGRATED))) {
echo MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS);
}
echo MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS_NEW);
?>
</style>
<?php