Making WordPress.org


Ignore:
Timestamp:
02/02/2019 12:48:33 PM (6 years ago)
Author:
ocean90
Message:

Slack: The fallback field should not contain any markup and is therefore an invalid value for mrkdwn_in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/slack/trac/commit-handler.php

    r8177 r8180  
    4747
    4848        $text     = "*$username <$url|$revision> by $author*\n$log";
    49         $fallback = "$revision by $author: $log";
     49        $fallback = "$username $revision by $author";
    5050
    5151        $this->send->set_username( $username );
     
    5555            'text'      => $text,
    5656            'fallback'  => $fallback,
    57             'mrkdwn_in' => array( 'text', 'fallback' ),
     57            'mrkdwn_in' => array( 'text' ),
    5858        ) );
    5959    }
Note: See TracChangeset for help on using the changeset viewer.