Skip to content

Commit

Permalink
Fix return value of get_taxonomy_object_types
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Jul 30, 2024
1 parent 4961ae5 commit 0e37501
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Fixed

- Fixed an issue with taxonomy registration not returning an array.

### Changed

- Added support for faking specific HTTP requests by method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected static function get_taxonomy_object_types(): array {
}
}

return $object_types;
return static::$object_types;
}

/**
Expand Down

0 comments on commit 0e37501

Please sign in to comment.