Changeset 1822902
- Timestamp:
- 02/15/2018 05:14:59 PM (8 years ago)
- Location:
- google-calendar-events/trunk
- Files:
-
- 10 edited
-
assets/css/admin-add-calendar.min.css (modified) (1 diff)
-
assets/css/admin.min.css (modified) (1 diff)
-
assets/css/default-calendar-grid.min.css (modified) (1 diff)
-
assets/css/default-calendar-list.min.css (modified) (1 diff)
-
assets/js/admin-add-calendar.min.js (modified) (1 diff)
-
assets/js/admin.min.js (modified) (1 diff)
-
assets/js/default-calendar.min.js (modified) (1 diff)
-
google-calendar-events.php (modified) (2 diffs)
-
includes/abstracts/calendar.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
google-calendar-events/trunk/assets/css/admin-add-calendar.min.css
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/assets/css/admin.min.css
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/assets/css/default-calendar-grid.min.css
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/assets/css/default-calendar-list.min.css
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/assets/js/admin-add-calendar.min.js
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/assets/js/admin.min.js
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/assets/js/default-calendar.min.js
r1816526 r1822902 1 /*! Simple Calendar - 3.1.1 31 /*! Simple Calendar - 3.1.14 2 2 * https://simplecalendar.io 3 3 * Copyright (c) Moonstone Media 2018 -
google-calendar-events/trunk/google-calendar-events.php
r1816526 r1822902 6 6 * Author: Simple Calendar 7 7 * Author URI: https://simplecalendar.io 8 * Version: 3.1.1 38 * Version: 3.1.14 9 9 * Text Domain: google-calendar-events 10 10 * Domain Path: /i18n … … 22 22 $this_plugin_dir = plugin_dir_url( __FILE__ ); 23 23 $this_plugin_constants = array( 24 'SIMPLE_CALENDAR_VERSION' => '3.1.1 3',24 'SIMPLE_CALENDAR_VERSION' => '3.1.14', 25 25 'SIMPLE_CALENDAR_MAIN_FILE' => __FILE__, 26 26 'SIMPLE_CALENDAR_URL' => $this_plugin_dir, -
google-calendar-events/trunk/includes/abstracts/calendar.php
r1793822 r1822902 285 285 // Set earliest and latest event timestamps. 286 286 if ( $this->events && is_array( $this->events ) ) { 287 $this->earliest_event = intval( current( array_keys( $this->events ) ) ); 288 $this->latest_event = intval( key( array_slice( $this->events, -1, 1, true ) ) ); 287 $start_event = current( $this->events ); 288 $start_event_item = ! empty( $start_event[0]->start ) ? $start_event[0]->start : 0; 289 $this->earliest_event = intval( $start_event_item ); 290 291 $last_event = current( array_slice( $this->events, - 1, 1, true ) ); 292 $last_event_item = ! empty( $last_event[0]->end ) ? $last_event[0]->end : 0; 293 $this->latest_event = intval( $last_event_item ); 289 294 } 290 295 … … 432 437 } 433 438 } 439 440 // Sort by end date so that navigation buttons are displayed 441 // correctly for events spanning multiple days. 442 uasort( $events, function( $a, $b ) { 443 return ( $a[0]->end - $b[0]->end ); 444 } ); 434 445 435 446 $this->events = $events; -
google-calendar-events/trunk/readme.txt
r1816526 r1822902 5 5 Requires PHP: 5.3+ 6 6 Tested up to: 4.9 7 Stable tag: 3.1.1 37 Stable tag: 3.1.14 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 97 97 98 98 == Changelog == 99 100 = 3.1.14 - February 15, 2018 = 101 * Fix: Issue where navigation to next month would be disabled when multi-day events extended to future months. 99 102 100 103 = 3.1.13 - February 5, 2018 =
Note: See TracChangeset
for help on using the changeset viewer.