Skip to content

Commit

Permalink
Fixing localization for the member profile edit save success message
Browse files Browse the repository at this point in the history
  • Loading branch information
kimcoleman committed Sep 17, 2024
1 parent 328924f commit 0098622
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,8 @@ function pmpro_member_profile_edit_form() {
wp_update_user( $user );
?>
<div role="alert" class="<?php echo esc_attr( pmpro_get_element_class( 'pmpro_message pmpro_success', 'pmpro_success' ) ); ?>">
<?php echo sprintf( wp_kses_post( 'Your profile has been updated. <a href="%s">View Your Membership Account &rarr;</a>', 'paid-memberships-pro' ), esc_url( pmpro_url( 'account' ) ) ); ?>
<?php esc_html_e( 'Your profile has been updated.', 'paid-memberships-pro' ); ?>
<a href="<?php echo esc_url( pmpro_url( 'account' ) ); ?>"><?php esc_html_e( 'View Your Membership Account &rarr;', 'paid-memberships-pro' ); ?></a>
</div>
<?php }
} else {
Expand Down

0 comments on commit 0098622

Please sign in to comment.