Changeset 3069
- Timestamp:
- 05/03/2016 12:51:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/slack/trac/comment-handler.php
r2025 r3069 95 95 array_pop( $lines ); 96 96 97 preg_match( '/^(Comment|Changes ) \(by (.*)\):$/', array_shift( $lines ), $matches );97 preg_match( '/^(Comment|Changes|Description changed) \(?by (.*)\)?:$/', array_shift( $lines ), $matches ); 98 98 $has_changes = $matches[1] === 'Changes'; 99 99 $author = $matches[2]; 100 100 101 // Remove blank line after 'Comment|Changes (by author):' 101 // Remove blank line after 'Comment|Changes (by author):' or 'Description changed by author:'. 102 102 array_shift( $lines ); 103 103
Note: See TracChangeset
for help on using the changeset viewer.