Changeset 13804 for trunk/src/bp-friends/bp-friends-notifications.php
- Timestamp:
- 04/24/2024 09:13:11 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-notifications.php
r13503 r13804 252 252 } 253 253 254 if ( ! $accept_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_accepted', true ) ) 255 $accept_requests = 'yes'; ?> 254 if ( ! $accept_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_accepted', true ) ) { 255 $accept_requests = 'yes'; 256 } 257 ?> 256 258 257 259 <table class="notification-settings" id="friends-notification-settings"> … … 259 261 <tr> 260 262 <th class="icon"></th> 261 <th class="title"><?php _ex( 'Friends', 'Friend settings on notification settings page', 'buddypress' ); ?></th>263 <th class="title"><?php echo esc_html_x( 'Friends', 'Friend settings on notification settings page', 'buddypress' ); ?></th> 262 264 <th class="yes"><?php esc_html_e( 'Yes', 'buddypress' ); ?></th> 263 265 <th class="no"><?php esc_html_e( 'No', 'buddypress' ); ?></th> … … 268 270 <tr id="friends-notification-settings-request"> 269 271 <td></td> 270 <td><?php _ex( 'A member sends you a friendship request', 'Friend settings on notification settings page', 'buddypress' ); ?></td>272 <td><?php echo esc_html_x( 'A member sends you a friendship request', 'Friend settings on notification settings page', 'buddypress' ); ?></td> 271 273 <td class="yes"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-yes" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-request-yes" class="bp-screen-reader-text"><?php 272 274 /* translators: accessibility text */ … … 280 282 <tr id="friends-notification-settings-accepted"> 281 283 <td></td> 282 <td><?php _ex( 'A member accepts your friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td>284 <td><?php echo esc_html_x( 'A member accepts your friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td> 283 285 <td class="yes"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-yes" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-accepted-yes" class="bp-screen-reader-text"><?php 284 286 /* translators: accessibility text */
Note: See TracChangeset
for help on using the changeset viewer.