#8454 closed defect (bug) (duplicate)
Comments-RSS uses html-entities in translated text
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If the translation of eg. "Comments on: %s", used in feed-rss2-coments.php and feed-atom-comments.php, uses special chars like ü for ü, the comments feed will not alidate because of "Undefined named entity".
Solution: wrapping translation in html_entity_decode like:
feed-rss2-comments.php, line 21:
instead of:
printf(__('Comments on: %s', ENT_QUOTES, get_option('blog_charset')));
do:
printf(html_entity_decode(__('Comments on: %s', ENT_QUOTES, get_option('blog_charset')), get_the_title_rss());
Translated text is used in 5 lines in both mentioned files.
Attachments (2)
Change History (4)
schlafbaum
— 5 years ago
schlafbaum
— 5 years ago
comment:1
schlafbaum
— 5 years ago
- Resolution set to duplicate
- Status changed from new to closed
sorry, already in 8405