Skip to content

Commit

Permalink
Remove Matrix link
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Dec 11, 2024
1 parent af887fb commit 9fdce4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wporg-meeting-posttype.php
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ public function meeting_time_shortcode( $attr, $content = '' ) {
$out .= '<time class="date" date-time="' . esc_attr( $next_meeting_iso ) . '" title="' . esc_attr( $next_meeting_iso ) . '">' . $next_meeting_display . '</time> ';
$out .= sprintf( esc_html__( '(%s from now)', 'wporg-meeting-calendar' ), human_time_diff( $next_meeting_timestamp, current_time( 'timestamp' ) ) );
if ( $post->location && $slack_channel ) {
$out .= ' ' . sprintf( wp_kses( __( 'accessible via <a href="%1$s">%2$s</a> on Slack or <a href="%3$s">%4$s:community.wordpress.org</a> on Matrix', 'wporg-meeting-calendar' ), array( 'a' => array( 'href' => array() ) ) ), 'https://wordpress.slack.com/messages/' . $slack_channel, $post->location, '/' . strtolower( 'Core Performance' === $attr['team'] ? 'performance' : $attr['team'] ) . '/chat/', $post->location );
$out .= ' ' . sprintf( wp_kses( __( 'accessible via <a href="%1$s">%2$s</a> on Slack', 'wporg-meeting-calendar' ), array( 'a' => array( 'href' => array() ) ) ), 'https://wordpress.slack.com/messages/' . $slack_channel, $post->location );
}
$out .= '</span>';

Expand Down

0 comments on commit 9fdce4a

Please sign in to comment.