Changeset 13096 for trunk/src/bp-messages/bp-messages-notifications.php
- Timestamp:
- 08/26/2021 12:53:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-notifications.php
r13035 r13096 120 120 ); 121 121 122 // Custom notification action for the Messages component 122 // Custom notification action for the Messages component. 123 123 } else { 124 124 if ( 'string' === $format ) { … … 127 127 $retval = array( 128 128 'text' => $text, 129 'link' => $link 129 'link' => $link, 130 130 ); 131 131 } … … 216 216 * 217 217 * @since 1.9.0 218 * 219 * @global BP_Messages_Thread_Template $thread_template 218 220 */ 219 221 function bp_messages_screen_conversation_mark_notifications() { … … 309 311 <tr> 310 312 <th class="icon"></th> 311 <th class="title"><?php _e( 'Messages', 'buddypress' )?></th>312 <th class="yes"><?php _e( 'Yes', 'buddypress' )?></th>313 <th class="no"><?php _e( 'No', 'buddypress' )?></th>313 <th class="title"><?php esc_html_e( 'Messages', 'buddypress' ); ?></th> 314 <th class="yes"><?php esc_html_e( 'Yes', 'buddypress' ); ?></th> 315 <th class="no"><?php esc_html_e( 'No', 'buddypress' ); ?></th> 314 316 </tr> 315 317 </thead> … … 318 320 <tr id="messages-notification-settings-new-message"> 319 321 <td></td> 320 <td><?php _e( 'A member sends you a new message', 'buddypress' )?></td>322 <td><?php esc_html_e( 'A member sends you a new message', 'buddypress' ); ?></td> 321 323 <td class="yes"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-yes" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/><label for="notification-messages-new-messages-yes" class="bp-screen-reader-text"><?php 322 324 /* translators: accessibility text */ 323 _e( 'Yes, send email', 'buddypress' );325 esc_html_e( 'Yes, send email', 'buddypress' ); 324 326 ?></label></td> 325 327 <td class="no"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-no" value="no" <?php checked( $new_messages, 'no', true ) ?>/><label for="notification-messages-new-messages-no" class="bp-screen-reader-text"><?php 326 328 /* translators: accessibility text */ 327 _e( 'No, do not send email', 'buddypress' );329 esc_html_e( 'No, do not send email', 'buddypress' ); 328 330 ?></label></td> 329 331 </tr>
Note: See TracChangeset
for help on using the changeset viewer.