diff --git a/feeds/ical.php b/feeds/ical.php index 92a8c6a7..513bd21d 100644 --- a/feeds/ical.php +++ b/feeds/ical.php @@ -161,7 +161,8 @@ function( $m ) { "DTSTAMP:19700101T000000\r\n" . 'DTSTART:' . mysql2date( $date_format, $event->post_date ) . "\r\n" . 'DTEND:' . $end->format( $date_format ) . "\r\n" . - 'LAST-MODIFIED:' . mysql2date( $date_format, $event->post_modified_gmt ) . "\r\n"; + 'LAST-MODIFIED:' . mysql2date( $date_format, $event->post_modified_gmt ) . "\r\n". + 'URL:' . esc_url(get_permalink($event->ID)) . "\r\n"; if ( $description ) { $output .= 'DESCRIPTION:' . $description . "\r\n";