Skip to content

Commit be8913a

Browse files
committed
Edit account text now translatable, fixes #296
1 parent b59e57c commit be8913a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/profiles/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<h2>
2424
<?php echo esc_html( $data->user->display_name ); ?>
2525
<?php if ( $data->current_user_id === $data->user->ID ) :
26-
$edit_account_text = apply_filters( 'wpum_profile_edit_account_text', 'Edit account', $data->user->ID );
26+
$edit_account_text = apply_filters( 'wpum_profile_edit_account_text', __( 'Edit account', 'wp-user-manager' ), $data->user->ID );
2727
?>
2828
<a href="<?php echo esc_url( get_permalink( wpum_get_core_page_id( 'account' ) ) ); ?>"><small><?php echo esc_html( $edit_account_text ); ?></small></a>
2929
<?php endif; ?>

0 commit comments

Comments
 (0)