Skip to content

Commit

Permalink
Merge pull request #1865 from dixitadusara/Fix/textdomain
Browse files Browse the repository at this point in the history
Change text domain "edit" to "give"
  • Loading branch information
ravinderk committed Jul 14, 2017
2 parents 0fd17f3 + b3b7fc6 commit ebe8e4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/admin/donors/donor-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,9 @@ function give_add_donor_email( $args ) {
$donor_edit_role = apply_filters( 'give_edit_donors_role', 'edit_give_payments' );

if ( ! is_admin() || ! current_user_can( $donor_edit_role ) ) {
wp_die( __( 'You do not have permission to edit this donor.', 'edit' ) );
wp_die( esc_html__( 'You do not have permission to edit this donor.', 'give' ), esc_html__( 'Error', 'give' ), array(
'response' => 403,
) );
}

$output = array();
Expand Down

0 comments on commit ebe8e4d

Please sign in to comment.