Changeset 2505677
- Timestamp:
- 03/30/2021 06:34:06 AM (5 years ago)
- Location:
- wp-ical-availability/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
views/calendar/edit-calendar.php (modified) (1 diff)
-
wp-ical-availability.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-ical-availability/trunk/readme.txt
r2385417 r2505677 3 3 Tags: ical calendar, ical, import bookings, sync calendar, availability calendar 4 4 Requires at least: 3.0 5 Tested up to: 5. 56 Stable tag: 1.0. 25 Tested up to: 5.7 6 Stable tag: 1.0.3 7 7 8 8 This calendar imports an iCal feed from an external website, like Airbnb, and shows the availability based on that feed. … … 67 67 == Changelog == 68 68 69 = 1.0.2= 69 = 1.0.3 = 70 * Fixed: Compatibility issues with WP 5.7 and PHP 8 71 72 = 1.0.2 = 70 73 * Fixed: Removed overwriting of the default timezone 71 74 -
wp-ical-availability/trunk/views/calendar/edit-calendar.php
r1370585 r2505677 19 19 <?php $sql = $wpdb->prepare('SELECT * FROM ' . $wpdb->base_prefix . 'wpia_calendars WHERE calendarID=%d',$_GET['id']); ?> 20 20 <?php $calendar = $wpdb->get_row( $sql, ARRAY_A );?> 21 <?php if(($wpdb->num_rows > 0 || $_GET['id'] == 'wpia-new-calendar') && (@in_array( get_current_user_id(), json_decode($calendar['calendarUsers'])) || current_user_can( MIN_USER_CAPABILITY )) ):?> 21 <?php $calendar_users = isset($calendar['calendarUsers']) ? json_decode($calendar['calendarUsers']) : [] ?> 22 <?php if(($wpdb->num_rows > 0 || $_GET['id'] == 'wpia-new-calendar') && (@in_array( get_current_user_id(), $calendar_users) || current_user_can( MIN_USER_CAPABILITY )) ):?> 22 23 23 24 <?php if($_GET['id'] == 'wpia-new-calendar') { $calendar['calendarData'] = '{}';}?> -
wp-ical-availability/trunk/wp-ical-availability.php
r2385416 r2505677 4 4 * Plugin URI: http://www.wpicalavailability.com 5 5 * Description: WP iCal Availability 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Author: WP iCal Availability 8 8 * Author URI: http://www.wpicalavailability.com
Note: See TracChangeset
for help on using the changeset viewer.