Ticket #5942: bp-friends-screens-5942.diff
File bp-friends-screens-5942.diff, 1.8 KB (added by , 9 years ago) |
---|
-
src/bp-friends/bp-friends-screens.php
19 19 */ 20 20 function friends_screen_my_friends() { 21 21 22 /** 23 * Fires before the loading of template for the My Friends page. 24 * 25 * @since BuddyPress (1.0.0) 26 */ 22 27 do_action( 'friends_screen_my_friends' ); 23 28 29 /** 30 * Filters the template used to display the My Friends page. 31 * 32 * @since BuddyPress (1.0.0) 33 * 34 * @param string $template Path to the my friends template to load. 35 */ 24 36 bp_core_load_template( apply_filters( 'friends_template_my_friends', 'members/single/home' ) ); 25 37 } 26 38 … … 62 74 bp_core_redirect( trailingslashit( bp_loggedin_user_domain() . bp_current_component() . '/' . bp_current_action() ) ); 63 75 } 64 76 77 /** 78 * Fires before the loading of template for the friends requests page. 79 * 80 * @since BuddyPress (1.0.0) 81 */ 65 82 do_action( 'friends_screen_requests' ); 66 83 84 /** 85 * Filters the template used to display the My Friends page. 86 * 87 * @since BuddyPress (1.0.0) 88 * 89 * @param string $template Path to the friends request template to load. 90 */ 67 91 bp_core_load_template( apply_filters( 'friends_template_requests', 'members/single/home' ) ); 68 92 } 69 93 … … 102 126 <td class="no"><input type="radio" name="notifications[notification_friends_friendship_accepted]" value="no" <?php checked( $accept_requests, 'no', true ) ?>/></td> 103 127 </tr> 104 128 105 <?php do_action( 'friends_screen_notification_settings' ); ?>129 <?php 106 130 131 /** 132 * Fires after the last table row on the friends notification screen. 133 * 134 * @since BuddyPress (1.0.0) 135 */ 136 do_action( 'friends_screen_notification_settings' ); ?> 137 107 138 </tbody> 108 139 </table> 109 140