Skip to content

Commit

Permalink
"my-calendar-ical" is not the name of that feed.
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 5, 2024
1 parent 4ea22c6 commit 9d54ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-calendar-navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ function mc_sub_links() {

$google = str_replace( $search, $replace, get_feed_link( 'my-calendar-google' ) );
$google = add_query_arg( 'cid', $google, 'https://www.google.com/calendar/render' );
$ical = str_replace( $search, $replace, get_feed_link( 'my-calendar-ical' ) );
$ical = str_replace( $search, $replace, get_feed_link( 'my-calendar-ics' ) );

$sub_google = "<li class='ics google'><a href='" . esc_url( $google ) . "' rel='nofollow'><span class='mc-icon' aria-hidden='true'></span>" . __( '<span class="maybe-hide">Subscribe in </span>Google', 'my-calendar' ) . '</a></li>';
$sub_ical = "<li class='ics ical'><a href='" . esc_url( $ical ) . "' rel='nofollow'><span class='mc-icon' aria-hidden='true'></span>" . __( '<span class="maybe-hide">Subscribe in </span>iCal', 'my-calendar' ) . '</a></li>';
Expand Down

0 comments on commit 9d54ad2

Please sign in to comment.