diff --git a/features/export.feature b/features/export.feature index 74da4473..c1d21a3e 100644 --- a/features/export.feature +++ b/features/export.feature @@ -1000,11 +1000,15 @@ Feature: Export content. """ 'Region', - 'rewrite' => [ 'slug' => 'region' ], - 'hierarchical' => true, - ] ); + register_taxonomy( + 'region', + 'post', + [ + 'label' => 'Region', + 'rewrite' => [ 'slug' => 'region' ], + 'hierarchical' => true, + ] + ); } add_action( 'init', 'wp_cli_region_taxonomy' ); """