[buddypress-trac] [BuddyPress Trac] #5296: Add tools for repairing relationships - Friend Counts

buddypress-trac noreply at wordpress.org
Fri Feb 28 18:20:22 UTC 2014

#5296: Add tools for repairing relationships - Friend Counts
 Reporter:  cmmarslender  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  2.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |

Comment (by johnjamesjacoby):

 > Moved to a Tools subtab of the BuddyPress admin pages

 I'd rather we add a Tools menu to the Network admin than commingle
 settings and utilities together.

 > Replaced some direct SQL queries/calls to update_user_meta with existing
 API functions

 The reason bbPress did direct queries was to provide primitive database
 manipulation tools with a UI, to fix only what we intended to fix, without
 bumping/breaking anything else. Some of bbPress's meta functions were in

 We'll need to hook `bp_admin_repair_handler` to something more specific
 than `bp_core_admin_hook()` as it's causing nonce issues with every other
 settings page.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5296#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list