Changeset 10583
- Timestamp:
- 02/12/2016 09:43:04 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/admin/bp-core-admin-tools.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-tools.php
r10581 r10583 452 452 } 453 453 454 // Make sure we have no orphaned email type terms. 455 $email_types = get_terms( bp_get_email_tax_type(), array( 456 'fields' => 'ids', 457 'hide_empty' => false, 458 'update_term_meta_cache' => false, 459 ) ); 460 461 if ( $email_types ) { 462 foreach ( $email_types as $term_id ) { 463 wp_delete_term( (int) $term_id, bp_get_email_tax_type() ); 464 } 465 } 466 454 467 require_once( buddypress()->plugin_dir . '/bp-core/admin/bp-core-admin-schema.php' ); 455 468 bp_core_install_emails();
Note:
See TracChangeset
for help on using the changeset viewer.