- Timestamp:
- 04/29/2024 06:50:42 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php
r13196 r13822 29 29 <?php if ( bp_get_thread_recipients_count() <= 1 ) : ?> 30 30 31 <?php _e( 'You are alone in this conversation.', 'buddypress' ); ?>31 <?php esc_html_e( 'You are alone in this conversation.', 'buddypress' ); ?> 32 32 33 33 <?php elseif ( bp_get_max_thread_recipients_to_list() <= bp_get_thread_recipients_count() ) : ?> … … 35 35 <?php 36 36 /* translators: %s: message recipients count */ 37 printf( __( 'Conversation between %s recipients.', 'buddypress' ), number_format_i18n( bp_get_thread_recipients_count() ) );37 printf( esc_html__( 'Conversation between %s recipients.', 'buddypress' ), esc_html( number_format_i18n( bp_get_thread_recipients_count() ) ) ); 38 38 ?> 39 39 … … 41 41 42 42 <?php 43 /* translators: %s: message recipients list */ 44 printf( __( 'Conversation between %s.', 'buddypress' ), bp_get_thread_recipients_list() ); 43 printf( 44 /* translators: %s: message recipients list */ 45 esc_html__( 'Conversation between %s.', 'buddypress' ), 46 // phpcs:ignore WordPress.Security.EscapeOutput 47 bp_get_thread_recipients_list() 48 ); 45 49 ?> 46 50 … … 112 116 <?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ); ?> 113 117 114 <strong><?php _e( 'Send a Reply', 'buddypress' ); ?></strong>118 <strong><?php esc_html_e( 'Send a Reply', 'buddypress' ); ?></strong> 115 119 </div> 116 120 … … 133 137 do_action( 'bp_before_message_reply_box' ); ?> 134 138 135 <label for="message_content" class="bp-screen-reader-text"><?php 136 /* translators: accessibility text */ 137 _e( 'Reply to Message', 'buddypress' ); 138 ?></label> 139 <label for="message_content" class="bp-screen-reader-text"> 140 <?php 141 /* translators: accessibility text */ 142 esc_html_e( 'Reply to Message', 'buddypress' ); 143 ?> 144 </label> 139 145 <textarea name="content" id="message_content" rows="15" cols="40"></textarea> 140 146
Note: See TracChangeset
for help on using the changeset viewer.