Plugin Directory

Changeset 3088508

Timestamp:
05/17/2024 09:25:51 PM (3 months ago)
Author:
room34
Message:

Version 11.1.0-beta-1

Location:
ics-calendar
Files:
144 added
3 edited

Legend:

Unmodified
Added
Removed
  • ics-calendar/trunk/class-r34ics.php

    r3084757 r3088508  
    7878        'guid' => '',
    7979        'hidealldayindicator' => false,
     80
    8081        'hideprivateevents' => false,
    8182        'hiderecurrence' => '',
     83
    8284        'hidetimes' => false,
    8385        'htmltagdate' => '',
     
    682684                        // Mask info
    683685                        if (!empty($maskinfo)) {
     686
    684687                            $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 = '';
    690700                        }
    691701                       
     
    694704                        $event_item = array(
    695705                            '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 ?),
    698708                            'dtend_date' => $dtend_date,
    699709                            'dtend_time' => $dtend_time,
     
    703713                            'dtstart_time' => $dtstart_time,
    704714                            '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 ?),
    708718                            '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 ?? ),
    723733                        );
    724734                       
     
    14971507    public function r34ics_display_calendar_exclude_event($exclude, $event, $args) {
    14981508
    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        //
    15011511        if (!empty($args['hideprivateevents']) && ($event->class == 'PRIVATE' || $event->class == 'CONFIDENTIAL')) {
     1512
     1513
     1514
     1515
     1516
     1517
     1518
     1519
    15021520            $exclude = true;
    15031521        }
     
    16371655            'htmltagtitle' => r34ics_allowed_heading_tags_check($htmltagtitle, 'h2'),
    16381656            'hidealldayindicator' => r34ics_boolean_check($hidealldayindicator),
     1657
    16391658            'hideprivateevents' => r34ics_boolean_check($hideprivateevents),
     1659
    16401660            'hiderecurrence' => r34ics_hiderecurrence_parse($hiderecurrence),
    16411661            'hidetimes' => r34ics_boolean_check($hidetimes),
  • ics-calendar/trunk/ics-calendar.php

    r3087274 r3088508  
    44Plugin URI: https://icscalendar.com
    55Description: 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.2
     6Version: 11.
    77Requires at least: 4.9
    88Requires PHP: 7.0
  • ics-calendar/trunk/readme.txt

    r3088462 r3088508  
    9999
    100100== Changelog ==
     101
     102
     103
     104
     105
     106
     107
    101108
    102109= 11.0.1.2 - 2024.05.15 =
Note: See TracChangeset for help on using the changeset viewer.