Cleanup a bit, changelogs - fixes #42

This commit is contained in:
Jay Wood
2016-05-23 10:21:10 -04:00
parent 941b929077
commit 0bd105dda4
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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',