Changeset 3366760
- Timestamp:
- 09/23/2025 08:09:05 PM (5 months ago)
- Location:
- weatherbot
- Files:
-
- 10 edited
- 1 copied
-
tags/1.0.8 (copied) (copied from weatherbot/trunk)
-
tags/1.0.8/assets/css/weather-bot.css (modified) (5 diffs)
-
tags/1.0.8/readme.txt (modified) (3 diffs)
-
tags/1.0.8/src/Frontend/Renderer.php (modified) (7 diffs)
-
tags/1.0.8/src/Widgets/Weather_Widget.php (modified) (1 diff)
-
tags/1.0.8/weatherbot.php (modified) (2 diffs)
-
trunk/assets/css/weather-bot.css (modified) (5 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/Frontend/Renderer.php (modified) (7 diffs)
-
trunk/src/Widgets/Weather_Widget.php (modified) (1 diff)
-
trunk/weatherbot.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
weatherbot/tags/1.0.8/assets/css/weather-bot.css
r3365492 r3366760 24 24 gap: 5px; 25 25 width: fit-content; 26 font-family: inherit; 27 font-weight: 600; 26 28 background: white; 27 29 } 28 30 29 31 .roxxi-weather * { 30 font-family: Poppins; 32 font-family: inherit; 33 font-weight: inherit; 31 34 font-size: inherit; 32 35 line-height: normal; 33 font-weight: bold;34 36 word-break: normal; 35 37 white-space: normal; … … 108 110 border: 0; 109 111 font-size: inherit; 112 vertical-align: text-bottom; 110 113 } 111 114 … … 157 160 } 158 161 159 span.roxxi-weather .wb-pre { 160 font-size: inherit; 161 font-weight: inherit; 162 span.roxxi-weather strong.wb-pre { 163 font-size: inherit; 164 font-weight: inherit; 165 line-height: 1.2; 162 166 } 163 167 … … 168 172 span.roxxi-weather span.conditions { 169 173 font-size: inherit; 170 font-weight: bold;171 174 } 172 175 … … 213 216 color: var(--wb-neutral); 214 217 font-size: 12px; 215 font-weight: normal;218 font-weight: 400; 216 219 } 217 220 218 221 span.roxxi-weather span.wb-powered a.wb-powered-link { 219 222 font-size: inherit; 220 font-weight: inherit;223 font-weight: 500; 221 224 } 222 225 -
weatherbot/tags/1.0.8/readme.txt
r3365492 r3366760 1 1 === WeatherBot Weather Widget === 2 2 Contributors: roxxistudios 3 Tags: weather, weather widget, current weather, local weather, google weather3 Tags: Live Weather, Weather Widget, Local Weather, Location Weather, Google Weather 4 4 Requires at least: 6.0 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 Blocks: roxxistudios/weatherbot 11 11 12 Live local current weather widget for WordPress (Google Weather). Gutenberg block + shortcode; fast, accessible, no jQuery on the front end.12 Live weather for any location in the world using the Google Weather API. Add an ADA enhanced Weather Block, Widget, or Shortcode fast and easy. Precision-crafted for powerful simplicity. 13 13 14 14 == Description == … … 109 109 == Frequently Asked Questions == 110 110 111 = 1. D OES THIS SHOW LIVE LOCATION WEATHER USING GOOGLE WEATHER? =111 = 1. Does this show live location weather using Google Weather? = 112 112 Yes. WeatherBot retrieves **current weather** from **Google’s Weather API** and resolves your `city` input with **Google Maps Geocoding/Places**. 113 113 114 = 2. W HERE DO I GET A GOOGLE API KEY AND WHAT DO I ENABLE? =114 = 2. Where do I get a Google API key and what do I enable? = 115 115 Create a key in the [**Google Cloud Console**](https://developers.google.com/maps/documentation/weather/get-api-key) and enable **Weather** and **Geocoding/Places** APIs. Restrict your key per Google’s guidance. 116 116 117 = 3. C AN I USE THE SHORTCODE IN WIDGETS, HEADERS/FOOTERS, OR BUILDER MODULES? =117 = 3. Can I use the shortcode in Widgets, Headers/Footers, or builder modules? = 118 118 Yes—anywhere WordPress **parses shortcodes**: posts, pages, widgets, the Core/HTML block, and most page builders. In a PHP template you can use: 119 119 `<?php echo do_shortcode('[weatherbot city="Lake Arrowhead, CA" type="badge"]'); ?>` 120 120 121 = 4. H OW OFTEN IS THE WEATHER UPDATED? CAN I CLEAR THE CACHE? =121 = 4. How often is the weather udpdated? Can I clear the cache? = 122 122 Weather results are cached briefly (about **2 minutes** per location/unit) to keep results fresh while saving API calls. Geocoding results can be cached long-term. You can **manually purge** caches from **Settings → WeatherBot**. 123 123 124 = 5. D OES THE WIDGET SUPPORT DARK BACKGROUNDS? =124 = 5. Does the widget support dark backgrounds? = 125 125 Yes. Choose **Theme → Light/Dark** (or `font_color` shortcode attribute) to ensure readable contrast. 126 126 127 = 6. D OES THIS PLUGIN TRACK VISITORS OR SEND DATA TO THIRD-PARTY SERVERS? =127 = 6. Does this plugin track visitors or send data to third-part servers? = 128 128 No. API calls go directly from **your site** to **Google** using **your** key. The plugin does not phone home. 129 129 130 = 7. I S JQUERY REQUIRED? =130 = 7. Is jQuery Required? = 131 131 **No jQuery on the front end.** WeatherBot runs on vanilla JS and WordPress packages. (The WP admin may load standard WordPress scripts.) 132 133 = 8. Can I change the font styles of the weather display? = 134 Yes. WeatherBot inherits your theme’s fonts by default, but you can override them with custom CSS. 135 Go to **Appearance → Customize → Additional CSS** and add something like: 136 137 /* Make the temperature bold and red */ 138 .roxxi-weather span.wb-temp { 139 font-weight: 700; 140 color: #cc0000; 141 } 142 143 /* Make the unit (°F/°C) lighter */ 144 .roxxi-weather span.wb-unit { 145 font-weight: 300; 146 color: #555555; 147 } 148 149 /* Change the description to italic */ 150 .roxxi-weather span.wb-desc { 151 font-style: italic; 152 } 153 154 /* Style the powered-by line smaller and gray */ 155 .roxxi-weather span.wb-powered { 156 font-size: 11px; 157 color: #999999; 158 } 159 160 This lets you adjust font weight, color, and style without editing the plugin files. 132 161 133 162 == Attributes == … … 152 181 == Changelog == 153 182 183 = 1.0.8 = 184 * Updated readme.txt content 185 * Refactored code base 186 * Updated styles to allow theme priority 187 * Fixed php8 error 188 154 189 = 1.0.7 = 155 190 * Fixed alignment for inline widget for improved alignment in paragraph. -
weatherbot/tags/1.0.8/src/Frontend/Renderer.php
r3363509 r3366760 12 12 13 13 /** 14 * Frontend\Renderer (v3.1. 4)14 * Frontend\Renderer (v3.1.5) 15 15 * - Outputs inline-safe markup for WeatherBot variants. 16 16 * - Honors credit visibility via Settings (show_credit) and per-instance `show_credit="1"`. 17 17 * - Does NOT emit page-level no-cache headers (live freshness handled via REST). 18 * - v3.1.5: render_* methods accept ?array $data and normalize to [] to avoid PHP 8 TypeError. 18 19 */ 19 20 class Renderer { … … 76 77 * Does not send no-cache headers; client JS hydrates via REST. 77 78 */ 78 public function render_badge( array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 79 public function render_badge( ?array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 80 $data = is_array( $data ) ? $data : []; 81 79 82 $temp = $this->read( $data, 'temperature.degrees' ); 80 83 $unit_label = $this->read( $data, 'temperature.unit' ); … … 113 116 114 117 if ( isset( $atts['show_pre_text'] ) && (string) $atts['show_pre_text'] === '1' && ! empty( $atts['pre_text'] ) ) { 115 $html .= '<s trong class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</strong>';118 $html .= '<span class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</span>'; 116 119 } 117 120 … … 161 164 * Does not send no-cache headers; client JS hydrates via REST. 162 165 */ 163 public function render_compact( array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 166 public function render_compact( ?array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 167 $data = is_array( $data ) ? $data : []; 168 164 169 $temp = $this->read( $data, 'temperature.degrees' ); 165 170 $unit_label = $this->read( $data, 'temperature.unit' ); … … 196 201 197 202 if ( isset( $atts['show_pre_text'] ) && (string) $atts['show_pre_text'] === '1' && ! empty( $atts['pre_text'] ) ) { 198 $html .= '<s trong class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</strong>';203 $html .= '<span class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</span>'; 199 204 } 200 205 … … 236 241 * Does not send no-cache headers; client JS hydrates via REST. 237 242 */ 238 public function render_inline( array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 243 public function render_inline( ?array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 244 $data = is_array( $data ) ? $data : []; 245 239 246 $temp = $this->read( $data, 'temperature.degrees' ); 240 247 $unit_label = $this->read( $data, 'temperature.unit' ); … … 270 277 271 278 if ( isset( $atts['show_pre_text'] ) && (string) $atts['show_pre_text'] === '1' && ! empty( $atts['pre_text'] ) ) { 272 $html .= '<s trong class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</strong>';273 } 274 275 $html .= '<span class="conditions">';276 277 if ( $icon_base ) {278 $alt = $desc ? (string) $desc : '';279 $html .= '<img class="wb-ico" src="' . esc_url( $icon_base . '.png' ) . '" title="' . esc_attr( $alt ) . '" alt="' . esc_attr( $alt ) . '" width="20" height="20" />';280 }281 282 $html .= '<span class="degree">';283 if ( $temp_text !== '' ) {284 $html .= '<span class="wb-temp">' . esc_html( $temp_text ) . '</span>';285 }286 if ( $unit_text !== '' ) {287 $html .= '<span class="wb-unit">' . esc_html( $unit_text ) . '</span>';288 }289 $html .= '</span>'; // .degree290 291 $html .= '</span>'; 279 $html .= '<span class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</span>'; 280 } 281 282 $html .= '<span class="conditions">'; 283 284 if ( $icon_base ) { 285 $alt = $desc ? (string) $desc : ''; 286 $html .= '<img class="wb-ico" src="' . esc_url( $icon_base . '.png' ) . '" title="' . esc_attr( $alt ) . '" alt="' . esc_attr( $alt ) . '" width="20" height="20" />'; 287 } 288 289 $html .= '<span class="degree">'; 290 if ( $temp_text !== '' ) { 291 $html .= '<span class="wb-temp">' . esc_html( $temp_text ) . '</span>'; 292 } 293 if ( $unit_text !== '' ) { 294 $html .= '<span class="wb-unit">' . esc_html( $unit_text ) . '</span>'; 295 } 296 $html .= '</span>'; // .degree 297 298 $html .= '</span>'; // .conditions 292 299 293 300 $html .= '</span>'; -
weatherbot/tags/1.0.8/src/Widgets/Weather_Widget.php
r3365428 r3366760 19 19 parent::__construct( 20 20 'roxxi_weather_widget', 21 __( 'WeatherBot ™Widget', 'weatherbot' ),22 [ 'description' => __( 'Displays a widget with live location weather data provided by Google.', 'weatherbot' ) ]21 __( 'WeatherBot Widget', 'weatherbot' ), 22 [ 'description' => __( 'Displays a widget with live location weather data.', 'weatherbot' ) ] 23 23 ); 24 24 } -
weatherbot/tags/1.0.8/weatherbot.php
r3365431 r3366760 4 4 Plugin URI: https://roxxistudios.com/plugins/weatherbot 5 5 Description: WeatherBot — free version is a clean, easy to use weather plugin. Add fast, accessible, location-based weather using the Google Maps Platform (Weather + Geocoding). Includes a shortcode with inline/badge/compact variants and a widget. 6 Version: 1.0. 76 Version: 1.0.8 7 7 Requires at least: 6.0 8 8 Requires PHP: 7.4 … … 38 38 * -------------------------------------------------------------------------- */ 39 39 if ( ! defined( 'RX_WEATHERBOT_VERSION' ) ) { 40 define( 'RX_WEATHERBOT_VERSION', '1.0. 7' );40 define( 'RX_WEATHERBOT_VERSION', '1.0.8' ); 41 41 } 42 42 if ( ! defined( 'RX_WEATHERBOT_FILE' ) ) { -
weatherbot/trunk/assets/css/weather-bot.css
r3365492 r3366760 24 24 gap: 5px; 25 25 width: fit-content; 26 font-family: inherit; 27 font-weight: 600; 26 28 background: white; 27 29 } 28 30 29 31 .roxxi-weather * { 30 font-family: Poppins; 32 font-family: inherit; 33 font-weight: inherit; 31 34 font-size: inherit; 32 35 line-height: normal; 33 font-weight: bold;34 36 word-break: normal; 35 37 white-space: normal; … … 108 110 border: 0; 109 111 font-size: inherit; 112 vertical-align: text-bottom; 110 113 } 111 114 … … 157 160 } 158 161 159 span.roxxi-weather .wb-pre { 160 font-size: inherit; 161 font-weight: inherit; 162 span.roxxi-weather strong.wb-pre { 163 font-size: inherit; 164 font-weight: inherit; 165 line-height: 1.2; 162 166 } 163 167 … … 168 172 span.roxxi-weather span.conditions { 169 173 font-size: inherit; 170 font-weight: bold;171 174 } 172 175 … … 213 216 color: var(--wb-neutral); 214 217 font-size: 12px; 215 font-weight: normal;218 font-weight: 400; 216 219 } 217 220 218 221 span.roxxi-weather span.wb-powered a.wb-powered-link { 219 222 font-size: inherit; 220 font-weight: inherit;223 font-weight: 500; 221 224 } 222 225 -
weatherbot/trunk/readme.txt
r3365492 r3366760 1 1 === WeatherBot Weather Widget === 2 2 Contributors: roxxistudios 3 Tags: weather, weather widget, current weather, local weather, google weather3 Tags: Live Weather, Weather Widget, Local Weather, Location Weather, Google Weather 4 4 Requires at least: 6.0 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 Blocks: roxxistudios/weatherbot 11 11 12 Live local current weather widget for WordPress (Google Weather). Gutenberg block + shortcode; fast, accessible, no jQuery on the front end.12 Live weather for any location in the world using the Google Weather API. Add an ADA enhanced Weather Block, Widget, or Shortcode fast and easy. Precision-crafted for powerful simplicity. 13 13 14 14 == Description == … … 109 109 == Frequently Asked Questions == 110 110 111 = 1. D OES THIS SHOW LIVE LOCATION WEATHER USING GOOGLE WEATHER? =111 = 1. Does this show live location weather using Google Weather? = 112 112 Yes. WeatherBot retrieves **current weather** from **Google’s Weather API** and resolves your `city` input with **Google Maps Geocoding/Places**. 113 113 114 = 2. W HERE DO I GET A GOOGLE API KEY AND WHAT DO I ENABLE? =114 = 2. Where do I get a Google API key and what do I enable? = 115 115 Create a key in the [**Google Cloud Console**](https://developers.google.com/maps/documentation/weather/get-api-key) and enable **Weather** and **Geocoding/Places** APIs. Restrict your key per Google’s guidance. 116 116 117 = 3. C AN I USE THE SHORTCODE IN WIDGETS, HEADERS/FOOTERS, OR BUILDER MODULES? =117 = 3. Can I use the shortcode in Widgets, Headers/Footers, or builder modules? = 118 118 Yes—anywhere WordPress **parses shortcodes**: posts, pages, widgets, the Core/HTML block, and most page builders. In a PHP template you can use: 119 119 `<?php echo do_shortcode('[weatherbot city="Lake Arrowhead, CA" type="badge"]'); ?>` 120 120 121 = 4. H OW OFTEN IS THE WEATHER UPDATED? CAN I CLEAR THE CACHE? =121 = 4. How often is the weather udpdated? Can I clear the cache? = 122 122 Weather results are cached briefly (about **2 minutes** per location/unit) to keep results fresh while saving API calls. Geocoding results can be cached long-term. You can **manually purge** caches from **Settings → WeatherBot**. 123 123 124 = 5. D OES THE WIDGET SUPPORT DARK BACKGROUNDS? =124 = 5. Does the widget support dark backgrounds? = 125 125 Yes. Choose **Theme → Light/Dark** (or `font_color` shortcode attribute) to ensure readable contrast. 126 126 127 = 6. D OES THIS PLUGIN TRACK VISITORS OR SEND DATA TO THIRD-PARTY SERVERS? =127 = 6. Does this plugin track visitors or send data to third-part servers? = 128 128 No. API calls go directly from **your site** to **Google** using **your** key. The plugin does not phone home. 129 129 130 = 7. I S JQUERY REQUIRED? =130 = 7. Is jQuery Required? = 131 131 **No jQuery on the front end.** WeatherBot runs on vanilla JS and WordPress packages. (The WP admin may load standard WordPress scripts.) 132 133 = 8. Can I change the font styles of the weather display? = 134 Yes. WeatherBot inherits your theme’s fonts by default, but you can override them with custom CSS. 135 Go to **Appearance → Customize → Additional CSS** and add something like: 136 137 /* Make the temperature bold and red */ 138 .roxxi-weather span.wb-temp { 139 font-weight: 700; 140 color: #cc0000; 141 } 142 143 /* Make the unit (°F/°C) lighter */ 144 .roxxi-weather span.wb-unit { 145 font-weight: 300; 146 color: #555555; 147 } 148 149 /* Change the description to italic */ 150 .roxxi-weather span.wb-desc { 151 font-style: italic; 152 } 153 154 /* Style the powered-by line smaller and gray */ 155 .roxxi-weather span.wb-powered { 156 font-size: 11px; 157 color: #999999; 158 } 159 160 This lets you adjust font weight, color, and style without editing the plugin files. 132 161 133 162 == Attributes == … … 152 181 == Changelog == 153 182 183 = 1.0.8 = 184 * Updated readme.txt content 185 * Refactored code base 186 * Updated styles to allow theme priority 187 * Fixed php8 error 188 154 189 = 1.0.7 = 155 190 * Fixed alignment for inline widget for improved alignment in paragraph. -
weatherbot/trunk/src/Frontend/Renderer.php
r3363509 r3366760 12 12 13 13 /** 14 * Frontend\Renderer (v3.1. 4)14 * Frontend\Renderer (v3.1.5) 15 15 * - Outputs inline-safe markup for WeatherBot variants. 16 16 * - Honors credit visibility via Settings (show_credit) and per-instance `show_credit="1"`. 17 17 * - Does NOT emit page-level no-cache headers (live freshness handled via REST). 18 * - v3.1.5: render_* methods accept ?array $data and normalize to [] to avoid PHP 8 TypeError. 18 19 */ 19 20 class Renderer { … … 76 77 * Does not send no-cache headers; client JS hydrates via REST. 77 78 */ 78 public function render_badge( array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 79 public function render_badge( ?array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 80 $data = is_array( $data ) ? $data : []; 81 79 82 $temp = $this->read( $data, 'temperature.degrees' ); 80 83 $unit_label = $this->read( $data, 'temperature.unit' ); … … 113 116 114 117 if ( isset( $atts['show_pre_text'] ) && (string) $atts['show_pre_text'] === '1' && ! empty( $atts['pre_text'] ) ) { 115 $html .= '<s trong class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</strong>';118 $html .= '<span class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</span>'; 116 119 } 117 120 … … 161 164 * Does not send no-cache headers; client JS hydrates via REST. 162 165 */ 163 public function render_compact( array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 166 public function render_compact( ?array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 167 $data = is_array( $data ) ? $data : []; 168 164 169 $temp = $this->read( $data, 'temperature.degrees' ); 165 170 $unit_label = $this->read( $data, 'temperature.unit' ); … … 196 201 197 202 if ( isset( $atts['show_pre_text'] ) && (string) $atts['show_pre_text'] === '1' && ! empty( $atts['pre_text'] ) ) { 198 $html .= '<s trong class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</strong>';203 $html .= '<span class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</span>'; 199 204 } 200 205 … … 236 241 * Does not send no-cache headers; client JS hydrates via REST. 237 242 */ 238 public function render_inline( array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 243 public function render_inline( ?array $data, array $atts, ?float $lat = null, ?float $lon = null ): string { 244 $data = is_array( $data ) ? $data : []; 245 239 246 $temp = $this->read( $data, 'temperature.degrees' ); 240 247 $unit_label = $this->read( $data, 'temperature.unit' ); … … 270 277 271 278 if ( isset( $atts['show_pre_text'] ) && (string) $atts['show_pre_text'] === '1' && ! empty( $atts['pre_text'] ) ) { 272 $html .= '<s trong class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</strong>';273 } 274 275 $html .= '<span class="conditions">';276 277 if ( $icon_base ) {278 $alt = $desc ? (string) $desc : '';279 $html .= '<img class="wb-ico" src="' . esc_url( $icon_base . '.png' ) . '" title="' . esc_attr( $alt ) . '" alt="' . esc_attr( $alt ) . '" width="20" height="20" />';280 }281 282 $html .= '<span class="degree">';283 if ( $temp_text !== '' ) {284 $html .= '<span class="wb-temp">' . esc_html( $temp_text ) . '</span>';285 }286 if ( $unit_text !== '' ) {287 $html .= '<span class="wb-unit">' . esc_html( $unit_text ) . '</span>';288 }289 $html .= '</span>'; // .degree290 291 $html .= '</span>'; 279 $html .= '<span class="wb-pre">' . esc_html( (string) $atts['pre_text'] ) . '</span>'; 280 } 281 282 $html .= '<span class="conditions">'; 283 284 if ( $icon_base ) { 285 $alt = $desc ? (string) $desc : ''; 286 $html .= '<img class="wb-ico" src="' . esc_url( $icon_base . '.png' ) . '" title="' . esc_attr( $alt ) . '" alt="' . esc_attr( $alt ) . '" width="20" height="20" />'; 287 } 288 289 $html .= '<span class="degree">'; 290 if ( $temp_text !== '' ) { 291 $html .= '<span class="wb-temp">' . esc_html( $temp_text ) . '</span>'; 292 } 293 if ( $unit_text !== '' ) { 294 $html .= '<span class="wb-unit">' . esc_html( $unit_text ) . '</span>'; 295 } 296 $html .= '</span>'; // .degree 297 298 $html .= '</span>'; // .conditions 292 299 293 300 $html .= '</span>'; -
weatherbot/trunk/src/Widgets/Weather_Widget.php
r3365428 r3366760 19 19 parent::__construct( 20 20 'roxxi_weather_widget', 21 __( 'WeatherBot ™Widget', 'weatherbot' ),22 [ 'description' => __( 'Displays a widget with live location weather data provided by Google.', 'weatherbot' ) ]21 __( 'WeatherBot Widget', 'weatherbot' ), 22 [ 'description' => __( 'Displays a widget with live location weather data.', 'weatherbot' ) ] 23 23 ); 24 24 } -
weatherbot/trunk/weatherbot.php
r3365431 r3366760 4 4 Plugin URI: https://roxxistudios.com/plugins/weatherbot 5 5 Description: WeatherBot — free version is a clean, easy to use weather plugin. Add fast, accessible, location-based weather using the Google Maps Platform (Weather + Geocoding). Includes a shortcode with inline/badge/compact variants and a widget. 6 Version: 1.0. 76 Version: 1.0.8 7 7 Requires at least: 6.0 8 8 Requires PHP: 7.4 … … 38 38 * -------------------------------------------------------------------------- */ 39 39 if ( ! defined( 'RX_WEATHERBOT_VERSION' ) ) { 40 define( 'RX_WEATHERBOT_VERSION', '1.0. 7' );40 define( 'RX_WEATHERBOT_VERSION', '1.0.8' ); 41 41 } 42 42 if ( ! defined( 'RX_WEATHERBOT_FILE' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.