Skip to content

Commit

Permalink
Fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zaerl committed Jan 7, 2025
1 parent 5441bde commit 368a0a4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ public function add_next_entity( $entity = null ) {
$entity = $entity ?? $this->current();
$data = $entity->get_data();
$entity_type = $entity->get_type();
print_r( $data );

// Do not need to be mapped, skip it.
if ( ! array_key_exists( $entity_type, self::ENTITY_TYPES ) ) {
Expand Down Expand Up @@ -319,13 +318,13 @@ public function add_next_entity( $entity = null ) {
}
break;
case 'site_option':
// This support up to a hierachy depth of 1 million categories and posts.
// This supports up to a hierarchy depth of 1 million categories and posts.
$sort_order = 1000001;
// Site options have no parent.
$check_existing = false;
break;
case 'user':
// This support up to a hierachy depth of 1 million categories and posts.
// This supports up to a hierarchy depth of 1 million categories and posts.
$sort_order = 1000000;
// Users have no parent.
$check_existing = false;
Expand Down

0 comments on commit 368a0a4

Please sign in to comment.