Changeset 3088508
- Timestamp:
- 05/17/2024 09:25:51 PM (3 months ago)
- Location:
- ics-calendar
- Files:
-
- 144 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ics-calendar/trunk/class-r34ics.php
r3084757 r3088508 78 78 'guid' => '', 79 79 'hidealldayindicator' => false, 80 80 81 'hideprivateevents' => false, 81 82 'hiderecurrence' => '', 83 82 84 'hidetimes' => false, 83 85 'htmltagdate' => '', … … 682 684 // Mask info 683 685 if (!empty($maskinfo)) { 686 684 687 $event->summary = $maskinfo; 685 $event->attach_array = null; 686 $event->description = null; 687 $event->location = null; 688 $event->organizer_array = null; 689 $event->url = null; 688 // Remove other potentially sensitive information from the event 689 $event->additionalProperties = array(); 690 $event->attach = ''; 691 $event->attendee = ''; 692 $event->contact = ''; 693 $event->description = ''; 694 $event->geo = ''; 695 $event->location = ''; 696 $event->organizer = ''; 697 $event->resources = ''; 698 $event->url = ''; 699 $event->x_alt_desc = ''; 690 700 } 691 701 … … 694 704 $event_item = array( 695 705 'attach' => $this->parse_attach_array($event->attach_array, empty($sametab)), 696 'categories' => ($event->categories ? ? null),697 'contact' => ($event->contact ? ? null),706 'categories' => ($event->categories ?), 707 'contact' => ($event->contact ?), 698 708 'dtend_date' => $dtend_date, 699 709 'dtend_time' => $dtend_time, … … 703 713 'dtstart_time' => $dtstart_time, 704 714 'dtstart' => $event->dtstart, 705 'duration' => ($event->duration ? ? null),706 'eventdesc' => ($event->x_alt_desc ?? ($event->description ? ? null)),707 'exdate' => ($event->exdate ? ? null),715 'duration' => ($event->duration ?), 716 'eventdesc' => ($event->x_alt_desc ?? ($event->description ?)), 717 'exdate' => ($event->exdate ?), 708 718 'feed_key' => $feed_key, 709 'freebusy' => ($event->freebusy ? ? null),710 'geo' => ($event->geo ? ? null),711 'label' => ($event->summary ? ? null),712 'location' => ($event->location ? ? null),713 'organizer' => ($event->organizer_array ? ? null),714 'recurrence_id' => ($event->recurrence_id ? ? null),715 'resources' => ($event->resources ? ? null),716 'rrule' => ($event->rrule ? ? null),717 'rdate' => ($event->rdate ? ? null),718 'sequence' => ($event->sequence ? ? null),719 'status' => ($event->status ? ? null),720 'transp' => ($event->transp ? ? null),721 'uid' => ($event->uid ? ? null),722 'url' => ($event->url ?? null),719 'freebusy' => ($event->freebusy ?), 720 'geo' => ($event->geo ?), 721 'label' => ($event->summary ?), 722 'location' => ($event->location ?), 723 'organizer' => ($event->organizer_array ?), 724 'recurrence_id' => ($event->recurrence_id ?), 725 'resources' => ($event->resources ?), 726 'rrule' => ($event->rrule ?), 727 'rdate' => ($event->rdate ?), 728 'sequence' => ($event->sequence ?), 729 'status' => ($event->status ?), 730 'transp' => ($event->transp ?), 731 'uid' => ($event->uid ?), 732 'url' => ($event->url ?? ), 723 733 ); 724 734 … … 1497 1507 public function r34ics_display_calendar_exclude_event($exclude, $event, $args) { 1498 1508 1499 // Are we hiding private events, and is this event private?1500 // Don't just set $exclude equal to this expression; it might evaluate false but true might have been passed in!1509 // 1510 // 1501 1511 if (!empty($args['hideprivateevents']) && ($event->class == 'PRIVATE' || $event->class == 'CONFIDENTIAL')) { 1512 1513 1514 1515 1516 1517 1518 1519 1502 1520 $exclude = true; 1503 1521 } … … 1637 1655 'htmltagtitle' => r34ics_allowed_heading_tags_check($htmltagtitle, 'h2'), 1638 1656 'hidealldayindicator' => r34ics_boolean_check($hidealldayindicator), 1657 1639 1658 'hideprivateevents' => r34ics_boolean_check($hideprivateevents), 1659 1640 1660 'hiderecurrence' => r34ics_hiderecurrence_parse($hiderecurrence), 1641 1661 'hidetimes' => r34ics_boolean_check($hidetimes), -
ics-calendar/trunk/ics-calendar.php
r3087274 r3088508 4 4 Plugin URI: https://icscalendar.com 5 5 Description: Turn your Google Calendar, Microsoft Office 365 or Apple iCloud Calendar into a seamlessly integrated, auto-updating, zero-maintenance WordPress experience. 6 Version: 11. 0.1.26 Version: 11. 7 7 Requires at least: 4.9 8 8 Requires PHP: 7.0 -
ics-calendar/trunk/readme.txt
r3088462 r3088508 99 99 100 100 == Changelog == 101 102 103 104 105 106 107 101 108 102 109 = 11.0.1.2 - 2024.05.15 =
Note: See TracChangeset
for help on using the changeset viewer.