Changeset 3128386
- Timestamp:
- 07/30/2024 09:46:02 PM (20 months ago)
- Location:
- spinitron-player
- Files:
-
- 14 added
- 3 edited
-
tags/1.0.6 (added)
-
tags/1.0.6/ajax (added)
-
tags/1.0.6/ajax/ajax-handler-today.php (added)
-
tags/1.0.6/app (added)
-
tags/1.0.6/app/plugin-settings.php (added)
-
tags/1.0.6/app/spinitron-api-client.php (added)
-
tags/1.0.6/app/spinitron-get-client.php (added)
-
tags/1.0.6/js (added)
-
tags/1.0.6/js/spinitron-fetch-today.js (added)
-
tags/1.0.6/readme.txt (added)
-
tags/1.0.6/spinitron-player.php (added)
-
tags/1.0.6/style.css (added)
-
tags/1.0.6/ui (added)
-
tags/1.0.6/ui/today.php (added)
-
trunk/ajax/ajax-handler-today.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/spinitron-player.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spinitron-player/trunk/ajax/ajax-handler-today.php
r3102947 r3128386 60 60 61 61 // Check if the image URL is valid 62 $headers = @get_headers($show_image); 63 if (!$headers || strpos($headers[0], '200') === false) { 62 if (!empty($show_image)) { 63 $headers = @get_headers($show_image); 64 if (!$headers || strpos($headers[0], '200') === false) { 65 $show_image = $fallback_image; 66 } 67 } else { 68 error_log('Show image URL is empty. Using fallback image.'); 64 69 $show_image = $fallback_image; 65 70 } -
spinitron-player/trunk/readme.txt
r3102947 r3128386 3 3 Tags: spinitron, radio, music, player, stream 4 4 Requires at least: 5.0 5 Tested up to: 6. 5.45 Tested up to: 6.6.1 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 42 42 == Changelog == 43 43 44 = 1.0.6 = 45 - Fixed show image validation in ajax-handler-today.php 46 - Updated for WP Core compatibility 47 44 48 = 1.0.5 = 45 49 - Improved API client requests -
spinitron-player/trunk/spinitron-player.php
r3102947 r3128386 5 5 * Description: A streaming player for radio stations using Spinitron, with live data integration. 6 6 * Author: Razorfrog Web Design 7 * Version: 1.0. 57 * Version: 1.0.6 8 8 * Author URI: https://razorfrog.com/ 9 9 * License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.