Making WordPress.org

Changeset 12981


Ignore:
Timestamp:
11/28/2023 08:53:04 PM (3 years ago)
Author:
akirk
Message:

Meeting Shortcode: add exception for the Core Performance team URL

File:
1 edited

Legend:

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

    r12881 r12981  
    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( __( '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 );
     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( 'Core Performance' ===          $attr['team'] ? 'performance' : $attr['team'] ) . '/chat/', $post->location );
    505505                        }
    506506                        $out .= '</p>';
Note: See TracChangeset for help on using the changeset viewer.