Making WordPress.org

Changeset 9583


Ignore:
Timestamp:
03/10/2020 07:59:51 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Slack: Broadcast /here messages in #tide to #core.

Props garrett-eclipse, JeffPaul.
See #4747.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/slack/announce/lib.php

    r9548 r9583  
    134134
    135135    // Some channels parents are not a 1:1 match.
    136     if ( 'accessibility' === $parent_channel ) {
    137         $parent_channel = 'core';
    138     } elseif ( 'design' === $parent_channel ) {
    139         $parent_channel = 'core';
    140     } elseif ( 'feature' === $parent_channel ) {
    141         $parent_channel = 'core';
    142     } elseif ( 'community' === $parent_channel ) {
    143         $parent_channel = 'community-team';
     136    switch ( $parent_channel ) {
     137        case 'accessibility':
     138        case 'design':
     139        case 'feature':
     140        case 'tide':
     141            $parent_channel = 'core';
     142            break;
     143        case 'community':
     144            $parent_channel = 'community-team';
     145            break;
    144146    }
    145147
Note: See TracChangeset for help on using the changeset viewer.