diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 15ccacb767..698a0699cc 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -580,11 +580,6 @@ function unregister_taxonomy( $taxonomy ) { $taxonomy_object->remove_rewrite_rules(); $taxonomy_object->remove_hooks(); - // Remove custom taxonomy default term option. - if ( ! empty( $taxonomy_object->default_term ) ) { - delete_option( 'default_term_' . $taxonomy_object->name ); - } - // Remove the taxonomy. unset( $wp_taxonomies[ $taxonomy ] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4c1098d575..ffb00a3038 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53665'; +$wp_version = '6.1-alpha-53669'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.