Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#35745 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (wp-admin/themes.php)

Reported by: ramiy's profile ramiy Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

See the attached patch.

Attachments (1)

35745.patch (1.3 KB) - added by ramiy 9 years ago.

Download all attachments as: .zip

Change History (6)

@ramiy
9 years ago

#1 @ramiy
9 years ago

  • Keywords has-patch added

#2 @ramiy
9 years ago

Old strings:

  • Settings saved and theme activated. <a href="%s">Visit site</a>
  • New theme activated. <a href="%s">Visit site</a>

New strings:

  • Settings saved and theme activated.
  • New theme activated.
  • Visit site

No HTML tags, much easier to translate.

This ticket was mentioned in Slack in #core-i18n by ramiy. View the logs.


9 years ago

#4 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 36657:

I18N: Remove <a> tags from translatable strings in wp-admin/themes.php.

Props ramiy.
Fixes #35745.

#5 @jorbin
9 years ago

  • Milestone changed from Awaiting Review to 4.5
Note: See TracTickets for help on using tickets.