Making WordPress.org

Changeset 2160


Ignore:
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 "Please use `/props SLACK_USERNAME MESSAGE` to give props.\n";
    88}
    99
     
    1212
    1313    if ( $data['command'] !== '/props' ) {
    14         echo '???';
     14        echo "???\n";
    1515        return;
    1616    }
Note: See TracChangeset for help on using the changeset viewer.