Cleanup a bit, changelogs - fixes #42
This commit is contained in:
@ -72,6 +72,8 @@ Please do not contact me with questions like this. If you cannot be descriptive
|
|||||||
|
|
||||||
### 3.6.9
|
### 3.6.9
|
||||||
* Small cleanup
|
* 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
|
### 3.6.8
|
||||||
* Use background-image css property instead of just background - thanks to [95CivicSi](https://github.com/95CivicSi)
|
* Use background-image css property instead of just background - thanks to [95CivicSi](https://github.com/95CivicSi)
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
$cat_list = get_categories();
|
$cat_list = get_categories();
|
||||||
$final_cat_list = array();
|
$final_cat_list = array();
|
||||||
foreach ( $cat_list as $cw_cat ) {
|
foreach ( $cat_list as $cw_cat ) {
|
||||||
$termID = $cw_cat->term_id;
|
$term_id = $cw_cat->term_id;
|
||||||
$termName = $cw_cat->name;
|
$term_name = $cw_cat->name;
|
||||||
|
|
||||||
$final_cat_list[ $termID ] = $termName;
|
$final_cat_list[ $term_id ] = $term_name;
|
||||||
}
|
}
|
||||||
$cwv3_op_data = array(
|
$cwv3_op_data = array(
|
||||||
'plugin_title' => 'Content Warning v3',
|
'plugin_title' => 'Content Warning v3',
|
||||||
|
Reference in New Issue
Block a user