#9155 closed defect (bug) (fixed)
Current Password Title on bp-legacy general Template File
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 12.5.0 | Priority: | normal |
Severity: | normal | Version: | 12.4.1 |
Component: | Templates | Keywords: | needs-patch |
Cc: |
Description
Hi,
The user profile general settings shows me a bug with bp-legacy template.
The current password input title shows this text :
Current Password <span>(required to update email or change current password)</span>
As you can read it, the <spans> are printed on screen.
I think there is an error in the template file :
~/buddypress/bp-templates/bp-legacy/buddypress/members/single/general.php
Line 24 is :
<label for="pwd"><?php esc_html_e( 'Current Password <span>(required to update email or change current password)</span>', 'buddypress' ); ?></label>
I think it should be :
<label for="pwd"><?php printf( esc_html__( 'Current Password %s', 'buddypress' ), '<span>' . esc_html__( '(required to update email or change current password)', 'buddypress' ) . '</span>' );?></label>
Can you fix it please ?
GB
Change History (5)
Note: See
TracTickets for help on using
tickets.
Hi @gingerbooch
Thanks a lot for your report and suggestion, we’ll fix this issue asap.