Automattic / Automattic/babble

Attachment pages not working

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

Description

I have two languages - Latvian and English

Uploaded an image while in Latvian interface. WP created Attachment page url
http://wpdemo.ikdiena.lv/lv/?attachment_id=34

But the english url of this attachment does not work
http://wpdemo.ikdiena.lv/en/?attachment_id=34

Also, in the default Media library page, the URL for viewing Attachement page is http://wpdemo.ikdiena.lv/en/?attachment_id=34

But when opened, it shows http://wpdemo.ikdiena.lv/lv/?attachment_id=34

I have a Wordpres 3.5 RC2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Latvian and English attachment URLs described in the report on WordPress 3.5 RC2, including the Media Library link. Trace how the attachment page language is selected; done means the English and Latvian attachment URLs open consistently in their requested languages.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.