summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeldakatze <coffee@zeldakatze.de>2025-08-17 23:32:11 +0200
committerzeldakatze <coffee@zeldakatze.de>2025-08-17 23:32:11 +0200
commit40b324b8d82cedf605e03f025c8cc4826fdbd909 (patch)
treeaf589bebb7c6b9da2bba46e685625ac6cde047ed
parent50a67a31aaa18ec96019379a489ec65d2d641162 (diff)
downloadinfoCalendar-main.tar.gz
infoCalendar-main.zip
stop wordpress from messing up the iCal feedHEADmain
-rw-r--r--icalExport.php3
-rwxr-xr-xinfoCalendar.php2
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
**/