diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php
index 94e419c189..d30fb3d8f8 100644
--- a/wp-admin/includes/class-wp-terms-list-table.php
+++ b/wp-admin/includes/class-wp-terms-list-table.php
@@ -332,7 +332,14 @@ class WP_Terms_List_Table extends WP_List_Table {
$this->level = $level;
- echo '
';
+ if ( $tag->parent ) {
+ $count = count( get_ancestors( $tag->term_id, $taxonomy, 'taxonomy' ) );
+ $level = 'level-' . $count;
+ } else {
+ $level = 'level-0';
+ }
+
+ echo '
';
$this->single_row_columns( $tag );
echo '
';
}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index c5572a8c92..a03237eaad 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
-$wp_version = '5.2-alpha-44803';
+$wp_version = '5.2-alpha-44804';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.