Skip to content

Commit

Permalink
fix(crumb): Undefined property: WP_Post_Type::ID in single custom p…
Browse files Browse the repository at this point in the history
…ost type (#18)
  • Loading branch information
suetin authored Aug 28, 2023
1 parent 5c03191 commit d040659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Crumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function build()
$this->add(
$type->label,
get_post_type_archive_link($type->name),
$type->ID
get_queried_object_id()
);
}

Expand Down

0 comments on commit d040659

Please sign in to comment.