#42454 closed defect (bug) (fixed)
Unable to translate codex URL in theme-editor.php
| Reported by: | odysseygate | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.1 |
| Component: | Text Changes | Version: | 4.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
the string "https://codex.wordpress.org/Child_Themes" exists, but it cant be translated 'cause of missing translate function.
Attachments (2)
Change History (11)
#1
@
9 years ago
- Keywords has-patch needs-refresh i18n-change added
- Milestone Awaiting Review → 4.9.1
Thanks for reporting @odysseygate!
You're right, this URL should probably be translated, however the patch should probably be esc_url( __() ) instead (That can be changed upon commit if needed)
This would be an additional string, the Child_Themes URL isn't translated anywhere else.
Marking as 4.9.1, although this is small enough to slip into 4.9 if so desired ( @melchoyce ) -
#2
@
9 years ago
@dd32 OK, i understand 4.9 is about to release soon, so ill leave it up to you.
The Child_Themes URL has already translated on help tab in the same theme-editor.php. see https://core.trac.wordpress.org/browser/trunk/src/wp-admin/theme-editor.php?marks=39#L39.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed the function from escape to translate.