Skip to content

Commit

Permalink
Merge pull request #6 from WordImpress/master
Browse files Browse the repository at this point in the history
update
  • Loading branch information
ramiy committed Jul 20, 2016
2 parents ae59f61 + e743f29 commit 44fb90b
Show file tree
Hide file tree
Showing 2 changed files with 1,893 additions and 1,517 deletions.
4 changes: 2 additions & 2 deletions includes/emails/class-give-email-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ function give_email_tag_receipt_id( $payment_id ) {
*/
function give_email_tag_donation( $payment_id ) {
$payment = new Give_Payment( $payment_id );
$form_title = give_get_payment_form_title( $payment->meta, false, '-' );
$form_title = strip_tags( give_get_payment_form_title( $payment->meta, false, '-' ) );

return ! empty( $form_title ) ? $form_title : esc_html( 'There was an error retrieving this donation title.', 'give' );

Expand Down Expand Up @@ -584,4 +584,4 @@ function give_email_tag_receipt_link( $payment_id ) {
return $receipt_url;
}

}
}
Loading

0 comments on commit 44fb90b

Please sign in to comment.