Plugin Directory

Changeset 3128386


Ignore:
Timestamp:
07/30/2024 09:46:02 PM (20 months ago)
Author:
razorfrog
Message:

Spinitron Player v1.0.6

Location:
spinitron-player
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • spinitron-player/trunk/ajax/ajax-handler-today.php

    r3102947 r3128386  
    6060
    6161                // 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.');
    6469                        $show_image = $fallback_image;
    6570                }
  • spinitron-player/trunk/readme.txt

    r3102947 r3128386  
    33Tags: spinitron, radio, music, player, stream
    44Requires at least: 5.0
    5 Tested up to: 6.5.4
     5Tested up to: 6.6.1
    66Requires PHP: 7.2
    7 Stable tag: 1.0.5
     7Stable tag: 1.0.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4242== Changelog ==
    4343
     44= 1.0.6 =
     45- Fixed show image validation in ajax-handler-today.php
     46- Updated for WP Core compatibility
     47
    4448= 1.0.5 =
    4549- Improved API client requests
  • spinitron-player/trunk/spinitron-player.php

    r3102947 r3128386  
    55 * Description: A streaming player for radio stations using Spinitron, with live data integration.
    66 * Author: Razorfrog Web Design
    7  * Version: 1.0.5
     7 * Version: 1.0.6
    88 * Author URI: https://razorfrog.com/
    99 * License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.