Skip to content

Commit

Permalink
Merge pull request #6 from WordImpress/release/1.6
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
ramiy committed Aug 8, 2016
2 parents 99bde83 + e1e5510 commit 474b719
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions includes/gateways/offline-donations.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ function give_offline_send_admin_notice( $payment_id = 0 ) {
$admin_message .= esc_attr__( 'Hooray! The donation is in a pending status and is awaiting payment. Donation instructions have been emailed to the donor. Once you receive payment, be sure to mark the donation as complete using the link below.', 'give' ) . "\n\n";


$admin_message .= '<strong>' . esc_attr__( 'Donor: ', 'give' ) . '</strong>' . html_entity_decode( $name, ENT_COMPAT, 'UTF-8' ) . "\n";
$admin_message .= '<strong>' . esc_attr__( 'Amount: ', 'give' ) . '</strong>' . html_entity_decode( $amount, ENT_COMPAT, 'UTF-8' ) . "\n\n";
$admin_message .= '<strong>' . esc_attr__( 'Donor: ', 'give' ) . '</strong>' . '{fullname}' . "\n";
$admin_message .= '<strong>' . esc_attr__( 'Amount: ', 'give' ) . '</strong>' . '{price}' . "\n\n";

$admin_message .= sprintf(
'<a href="%1$s">%2$s</a>',
Expand All @@ -238,6 +238,8 @@ function give_offline_send_admin_notice( $payment_id = 0 ) {
) . "\n\n";

$admin_message = apply_filters( 'give_offline_admin_donation_notification', $admin_message, $payment_id );
$admin_message = give_do_email_tags( $admin_message, $payment_id );

$attachments = apply_filters( 'give_offline_admin_donation_notification_attachments', array(), $payment_id );
$admin_headers = apply_filters( 'give_offline_admin_donation_notification_headers', array(), $payment_id );

Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ We also really like WooCommerce. It's hands-down the most robust eCommerce platf
== Changelog ==

= 1.6: =
* New: Added email tag support to Offline Donation Admin Notification - https://github.com/WordImpress/Give/issues/846
* New: Added a "Reset Password" option to the donation form if the user is prompted to login - https://github.com/WordImpress/Give/issues/723
* New: Switch a transaction to a different form - https://github.com/WordImpress/Give/issues/429
* New: Setting to adjust the number of decimal spaces - https://github.com/WordImpress/Give/issues/738
Expand Down

0 comments on commit 474b719

Please sign in to comment.