Making WordPress.org

Changeset 14851


Ignore:
Timestamp:
04/29/2026 02:52:04 AM (5 months ago)
Author:
dd32
Message:

Slack: Use @here when using /here in a private group, slack has supported this for a long time.

File:
1 edited

Legend:

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

    r14629 r14851  
    251251        }
    252252
    253         // Default to an @here, unless explicitely an @channel OR it's a private group.
     253        // Default to an @here, unless explicitely an @channel.
    254254        $command = 'here';
    255255        if ( $data['command'] === '/at-channel' ) {
    256256                $command = 'channel';
    257         } elseif ( $channel === 'privategroup' ) {
    258                 // @channel and @group are interchangeable.
    259                 $command = 'group';
    260257        }
    261258
Note: See TracChangeset for help on using the changeset viewer.