[buddypress-trac] [BuddyPress Trac] #9155: Current Password Title on bp-legacy general Template File

buddypress-trac noreply at wordpress.org
Fri May 10 21:59:03 UTC 2024


#9155: Current Password Title on bp-legacy general Template File
--------------------------+-----------------------------
 Reporter:  gingerbooch   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9155>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list