You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Core Data uses hardcoded baseURL prefix for taxonomies and post types #33420
loadTaxonomyEntities and loadPostTypeEntities fetch wp/v2/taxonomies / wp/v2/types to get information about existing taxonomies and post types for later use.
Unfortunately, when doing so they assume every baseURL starts with wp/v2:
Activity
spacedmonkey commentedon Oct 11, 2021
Cross posting #53656.
This issue maybe fixed in core first. The plan would be add the namespace into the post type endpoint, so it doesn't have to be hardcoded here.
swissspidy commentedon Oct 11, 2021
AFAICT the namespace is already available from the post type endpoint via the
wp:itemslink, which is the solution I proposed above.spacedmonkey commentedon Oct 21, 2021
I have a PR to fix this ticket at #35850. It requires upstream changed to be merged into core.