Automattic / Automattic/babble

Post type "Page" ending up being a "Post" post type

Open
#96 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
250
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I'm having Dutch and German as languages and for Dutch pages works fine but switching to german ends up being a 404.

It does detect that the page is German but it ens up selecting the post table for this language. It only happens when using the slug type: Post name or Default.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with Dutch and German pages using the “Post name” and “Default” slug types, then trace how the German language selects the post type or table. Done means German pages resolve successfully instead of returning a 404 and remain associated with the Page post type rather than Post.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.