Skip to content

Commit

Permalink
Merge pull request #2537 from mehul0810/minorfix/2346
Browse files Browse the repository at this point in the history
MinorFix/2346
  • Loading branch information
Devin Walker committed Dec 18, 2017
2 parents be1d45c + 2905262 commit 27e5c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/emails/class-give-emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ public function build_email( $message ) {
$pattern,
function( $return ) {
if ( $return[1] !== $return[2] ) {
return "{$return[2]} ({$return[1]})";
return "{$return[2]} ( {$return[1]} )";
}
return $return[1];
return trailingslashit( $return[1] );
},
$message
);
Expand Down

0 comments on commit 27e5c90

Please sign in to comment.