Making WordPress.org

Changeset 12881


Ignore:
Timestamp:
09/13/2023 08:11:23 AM (10 months ago)
Author:
akirk
Message:

meetings shortcode: add link to Matrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-meeting-posttype/wporg-meeting-posttype.php

    r9088 r12881  
    502502            $out .= sprintf( esc_html__( '(%s from now)' ), human_time_diff( $next_meeting_timestamp, current_time('timestamp') ) );
    503503            if ( $post->location && $slack_channel ) {
    504                 $out .= ' ' . sprintf( wp_kses( __('at <a href="%s">%s</a> on Slack'), array(  'a' => array( 'href' => array() ) ) ), 'https://wordpress.slack.com/messages/' . $slack_channel,  $post->location );
     504                $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( $attr['team'] ) . '/chat/', $post->location );
    505505            }
    506506            $out .= '</p>';
Note: See TracChangeset for help on using the changeset viewer.