Plugin Directory

Changeset 2871042


Ignore:
Timestamp:
02/25/2023 05:35:37 PM (3 years ago)
Author:
macbookandrew
Message:

Update to version 1.8.5 from GitHub

Location:
wp-youtube-live
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-youtube-live/tags/1.8.5/inc/EmbedYoutubeLiveStreaming.php

    r2871041 r2871042  
    275275
    276276        // cache until first video starts.
    277         $key          = key( $all_videos_array );
    278         $cache_length = 600;
    279         if ( $key ) {
    280             $next_video = $all_videos_array[ $key ];
    281             if ( $next_video > time() ) {
    282                 $cache_length = $next_video - time() + 900;  // add 15-minute “grace period” in case breadcast starts late.
    283             }
     277        $key        = key( $all_videos_array );
     278        $next_video = $all_videos_array[ $key ];
     279        if ( $next_video > time() ) {
     280            $cache_length = $next_video - time() + 900;  // add 15-minute “grace period” in case breadcast starts late.
     281        } else {
     282            $cache_length = 600;
    284283        }
    285284
  • wp-youtube-live/tags/1.8.5/readme.txt

    r2871041 r2871042  
    55Requires at least: 3.6
    66Tested up to:      5.9.3
    7 Stable tag:        1.8.6
     7Stable tag:        1.8.5
    88License:           GPLv2 or later
    99License URI:       http://www.gnu.org/licenses/gpl-2.0.html
     
    179179== Changelog ==
    180180
    181 = 1.8.6 =
    182 - Fix undefined index error when no upcoming videos are available
    183 
    184181= 1.8.5 =
    185182- Prevent any errors from showing up when debug mode is disabled
  • wp-youtube-live/tags/1.8.5/wp-youtube-live.php

    r2871041 r2871042  
    44 * Plugin URI: https://github.com/macbookandrew/wp-youtube-live
    55 * Description: Displays the current YouTube live video from a specified channel
    6  * Version: 1.8.6
     6 * Version: 1.8.5
    77 * Author: Andrew Minion
    88 * Author URI: https://andrewrminion.com/
     
    1313}
    1414
    15 define( 'WP_YOUTUBE_LIVE_VERSION', '1.8.6' );
     15define( 'WP_YOUTUBE_LIVE_VERSION', '1.8.3' );
    1616
    1717/**
  • wp-youtube-live/trunk/inc/EmbedYoutubeLiveStreaming.php

    r2871041 r2871042  
    275275
    276276        // cache until first video starts.
    277         $key          = key( $all_videos_array );
    278         $cache_length = 600;
    279         if ( $key ) {
    280             $next_video = $all_videos_array[ $key ];
    281             if ( $next_video > time() ) {
    282                 $cache_length = $next_video - time() + 900;  // add 15-minute “grace period” in case breadcast starts late.
    283             }
     277        $key        = key( $all_videos_array );
     278        $next_video = $all_videos_array[ $key ];
     279        if ( $next_video > time() ) {
     280            $cache_length = $next_video - time() + 900;  // add 15-minute “grace period” in case breadcast starts late.
     281        } else {
     282            $cache_length = 600;
    284283        }
    285284
  • wp-youtube-live/trunk/readme.txt

    r2871041 r2871042  
    55Requires at least: 3.6
    66Tested up to:      5.9.3
    7 Stable tag:        1.8.6
     7Stable tag:        1.8.5
    88License:           GPLv2 or later
    99License URI:       http://www.gnu.org/licenses/gpl-2.0.html
     
    179179== Changelog ==
    180180
    181 = 1.8.6 =
    182 - Fix undefined index error when no upcoming videos are available
    183 
    184181= 1.8.5 =
    185182- Prevent any errors from showing up when debug mode is disabled
  • wp-youtube-live/trunk/wp-youtube-live.php

    r2871041 r2871042  
    44 * Plugin URI: https://github.com/macbookandrew/wp-youtube-live
    55 * Description: Displays the current YouTube live video from a specified channel
    6  * Version: 1.8.6
     6 * Version: 1.8.5
    77 * Author: Andrew Minion
    88 * Author URI: https://andrewrminion.com/
     
    1313}
    1414
    15 define( 'WP_YOUTUBE_LIVE_VERSION', '1.8.6' );
     15define( 'WP_YOUTUBE_LIVE_VERSION', '1.8.3' );
    1616
    1717/**
Note: See TracChangeset for help on using the changeset viewer.