Changeset 13775 for trunk/src/bp-core/admin/bp-core-admin-tools.php
- Timestamp:
- 03/22/2024 08:40:31 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/admin/bp-core-admin-tools.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-tools.php
r13731 r13775 111 111 __( 'Repair total members count.', 'buddypress' ), 112 112 'bp_admin_repair_count_members', 113 );114 115 $repair_list[25] = array(116 'bp-last-activity',117 __( 'Repair member "last activity" data.', 'buddypress' ),118 'bp_admin_repair_last_activity',119 113 ); 120 114 … … 471 465 delete_transient( 'bp_active_member_count' ); 472 466 bp_core_get_active_member_count(); 473 return array( 0, sprintf( $statement, __( 'Complete!', 'buddypress' ) ) );474 }475 476 /**477 * Repair user last_activity data.478 *479 * Re-runs the migration from usermeta introduced in BP 2.0.480 *481 * @since 2.0.0482 */483 function bp_admin_repair_last_activity() {484 /* translators: %s: the result of the action performed by the repair tool */485 $statement = __( 'Determining last activity dates for each user… %s', 'buddypress' );486 bp_last_activity_migrate();487 467 return array( 0, sprintf( $statement, __( 'Complete!', 'buddypress' ) ) ); 488 468 }
Note: See TracChangeset
for help on using the changeset viewer.