PluginProbe
wp-forecast / 9.6
wp-forecast v9.6
10.0 trunk 1.4 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3..5 3..8 3.0 3.1 3.2 3.3 3.4 3.6 All 86 releases
← All changes | funclib.php +0 -8 trunk9.6 View file →
@@ -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