WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 3 weeks ago

#41695 reviewing defect (bug)

i18n: Avoid using HTML tags in translation strings (wp-admin/includes/class-theme-upgrader.php)

Reported by: ramiy Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Focuses: administration Cc:

Description

This patch removes HTML <strong> tags from translation strings. Replacing <strong>%s</strong> with %s moving the HTML tags outside.

Old string:

  • <strong>The parent theme could not be found.</strong> You will need to install the parent theme, <strong>%s</strong>, before you can use this child theme.

New string:

  • <strong>The parent theme could not be found.</strong> You will need to install the parent theme, %s, before you can use this child theme.

Attachments (2)

41695.png (21.0 KB) - added by ramiy 4 weeks ago.
41695.patch (1.6 KB) - added by ramiy 4 weeks ago.

Download all attachments as: .zip

Change History (4)

@ramiy
4 weeks ago

@ramiy
4 weeks ago

#1 @ramiy
4 weeks ago

  • Focuses administration added
  • Keywords has-patch added

#2 @SergeyBiryukov
3 weeks ago

  • Milestone changed from Awaiting Review to 4.9
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.