From c570f11e609bbc7d5087f4712ca0737e1e01e76e Mon Sep 17 00:00:00 2001 From: Paul Biron Date: Fri, 15 Mar 2019 16:06:06 -0600 Subject: [PATCH] At the end of a parse, delete 'wp-parser-namespace_children` option so that it gets rebuilt and hierarchical namespace terms are correct. --- lib/class-importer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/class-importer.php b/lib/class-importer.php index b83e597..88bbf02 100644 --- a/lib/class-importer.php +++ b/lib/class-importer.php @@ -194,6 +194,7 @@ public function import( array $data, $skip_sleep = false, $import_ignored_functi */ delete_option( "{$this->taxonomy_package}_children" ); delete_option( "{$this->taxonomy_since_version}_children" ); + delete_option( "{$this->taxonomy_namespace}_children" ); /** * Action at the end of a complete import