Making WordPress.org

Changeset 11882


Ignore:
Timestamp:
05/25/2022 10:57:16 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Slack: Announce: Correct the variable used to determine private channels.

Follow-up to [11878].

Props Clorith, annezazu.
Fixes #6327.

File:
1 edited

Legend:

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

    r11878 r11882  
    175175                if (
    176176                        $channel_info &&
    177                         ( channel_info['is_private'] || $channel_info['is_group'] || $channel_info['is_mpim'] )
     177                        ( $channel_info['is_private'] || $channel_info['is_group'] || $channel_info['is_mpim'] )
    178178                ) {
    179179                        $channel = 'privategroup';
Note: See TracChangeset for help on using the changeset viewer.