Making WordPress.org

Changeset 2160

Timestamp:
12/03/2015 08:13:01 PM (9 years ago)
Author:
mdawaffe
Message:

Slack: /props command trailing WS.

So that debugging things from CLI is easier :)

Props @nbachiyski.

File:
1 edited

Legend:

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

    r2157 r2160  
    55
    66function show_error( $user ) {
    7     echo 'Please use `/props SLACK_USERNAME MESSAGE` to give props.';
     7    echo ;
    88}
    99
     
    1212
    1313    if ( $data['command'] !== '/props' ) {
    14         echo '???';
     14        echo ;
    1515        return;
    1616    }
Note: See TracChangeset for help on using the changeset viewer.