| @@ -191,16 +191,8 @@ | ||
| 191 | 191 | $av['OPENWEATHERMAP_BASE_URI_V3'] = 'https://api.openweathermap.org/data/3.0/onecall?'; |
| 192 | 192 | |
| 193 | 193 | $av['OPENMETEO_BASE_URI'] = 'https://api.open-meteo.com/v1/forecast?'; |
| 194 | 194 | $av['OPENMETEO_LOC_URI'] = 'https://geocoding-api.open-meteo.com/v1/search?'; |
| 195 | - | |
| 196 | - // add defaults to missing vars | |
| 197 | - if ( ! array_key_exists('fonticon', $av) ) { | |
| 198 | - $av['fonticon'] = 0; | |
| 199 | - } | |
| 200 | - if ( ! array_key_exists('fonticon_color', $av) ) { | |
| 201 | - $av['fonticon_color'] = '#999999'; | |
| 202 | - } | |
| 203 | 195 | |
| 204 | 196 | // if we use multisite then merge admin options. |
| 205 | 197 | if ( function_exists( 'is_multisite' ) && is_multisite() && 1 != $blog_id ) { |
| 206 | 198 | |