Changeset 13776
- Timestamp:
- 03/22/2024 08:51:49 AM (14 months ago)
- Location:
- branches/12.0/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/12.0/src/bp-core/admin/bp-core-admin-tools.php
r13681 r13776 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 } -
branches/12.0/src/bp-core/deprecated/12.0.php
r13503 r13776 1621 1621 return apply_filters( 'bp_core_get_all_posts_for_user', array( $all_posts ), '12.0.0' ); 1622 1622 } 1623 1624 /** 1625 * Repair user last_activity data. 1626 * 1627 * Re-runs the migration from usermeta introduced in BP 2.0. 1628 * 1629 * @since 2.0.0 1630 * @deprecated 12.4.0 1631 */ 1632 function bp_admin_repair_last_activity() { 1633 _deprecated_function( __FUNCTION__, '12.4.0' ); 1634 return array(); 1635 }
Note: See TracChangeset
for help on using the changeset viewer.