Changeset 13515
- Timestamp:
- 07/12/2023 04:00:13 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-tools.php
r13468 r13515 194 194 $statement = __( 'Removing all custom slugs and resetting default ones… %s', 'buddypress' ); 195 195 196 $bp_pages = bp_core_get_directory_page_ids( 'all' ); 197 foreach ( $bp_pages as $page_id ) { 198 delete_post_meta( $page_id, '_bp_component_slugs' ); 199 } 196 bp_core_add_page_mappings( buddypress()->active_components, 'delete' ); 200 197 201 198 // Delete BP Pages cache and rewrite rules.
Note: See TracChangeset
for help on using the changeset viewer.