Skip to content

Fix a bug where fetching post types returns non-existing ones#1118

Merged
crazytonyli merged 2 commits intotrunkfrom
post-types-invalidation
Jan 26, 2026
Merged

Fix a bug where fetching post types returns non-existing ones#1118
crazytonyli merged 2 commits intotrunkfrom
post-types-invalidation

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

The fetch only inserts. Considering the current solution always re-fetches post types, it's harmless to delete all the stored ones before inserting the fetched ones.

@crazytonyli crazytonyli requested a review from jkmassel January 26, 2026 08:38
@crazytonyli crazytonyli merged commit 4dedce1 into trunk Jan 26, 2026
22 checks passed
@crazytonyli crazytonyli deleted the post-types-invalidation branch January 26, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants