diff --git a/README.md b/README.md index 63e14e3..f70b418 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,8 @@ Please do not contact me with questions like this. If you cannot be descriptive ### 3.6.9 * Small cleanup +* Force text color to be black - fixes [#43](https://github.com/JayWood/content-warning-v3/issues/43) +* Use `COOKIEPATH` instead of `SITECOOKIEPATH` constants, compatability fix for sub-folder installs - fixes [#42](https://github.com/JayWood/content-warning-v3/issues/42) ### 3.6.8 * Use background-image css property instead of just background - thanks to [95CivicSi](https://github.com/95CivicSi) diff --git a/inc/options.inc.php b/inc/options.inc.php index b1c025a..8f283cf 100644 --- a/inc/options.inc.php +++ b/inc/options.inc.php @@ -3,10 +3,10 @@ $cat_list = get_categories(); $final_cat_list = array(); foreach ( $cat_list as $cw_cat ) { - $termID = $cw_cat->term_id; - $termName = $cw_cat->name; + $term_id = $cw_cat->term_id; + $term_name = $cw_cat->name; - $final_cat_list[ $termID ] = $termName; + $final_cat_list[ $term_id ] = $term_name; } $cwv3_op_data = array( 'plugin_title' => 'Content Warning v3',