Human Error in BP Source Code???
I’ve been tampering with the legacy templates and found that when I visit: http://%site_url%/members/%user_name%/friends/, the drop-down select box to order the friends lists was making things crash.
Looking at the code (buddypress/bp-templates/bp-legacy/buddypress/members/single/friends), the drop down select box has the command ‘bp_member_blog_order_options’ following it.
<select id="members-friends"> <option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option> <option value="newest"><?php _e( 'Newest Registered', 'buddypress' ); ?></option> <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option> <?php do_action( 'bp_member_blog_order_options' ); ?> </select>
Shouldn’t this be something more like ‘bp_member_friend_order_options’?
- The topic ‘Human Error in BP Source Code???’ is closed to new replies.