From 40b324b8d82cedf605e03f025c8cc4826fdbd909 Mon Sep 17 00:00:00 2001 From: zeldakatze Date: Sun, 17 Aug 2025 23:32:11 +0200 Subject: stop wordpress from messing up the iCal feed --- icalExport.php | 3 ++- infoCalendar.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/icalExport.php b/icalExport.php index 1e90c19..5d6d5f3 100644 --- a/icalExport.php +++ b/icalExport.php @@ -133,7 +133,8 @@ function doICalExport(WP_REST_Request $request) { infocalendar_printICalTextFromView($calendarView); - /* */ + /* we don't want any more wordpress handleing from here */ + exit(0); } diff --git a/infoCalendar.php b/infoCalendar.php index 9709d38..fd57826 100755 --- a/infoCalendar.php +++ b/infoCalendar.php @@ -3,7 +3,7 @@ * Plugin Name: infoCalendar * Plugin URI: https://cgit.zeldakatze.de/infoCalendar/ * Description: the infoCalendar Plugin -* Version: 0.2.2 +* Version: 0.3.1 * Author: zeldakatze * Author URI: http://zeldakatze.de **/ -- cgit v1.2.3