Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#35992 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (wp-includes/class-wp-customize-manager.php)

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

Description

Old string:

  • Removing %1$s manually will cause PHP warnings. Use the <a href="%2$s">%3$s</a> filter instead.

New string:

  • Removing %1$s manually will cause PHP warnings. Use the %2$s filter instead.

See the attached patch.

Attachments (1)

35992.patch (1.2 KB ) - added by ramiy 11 years ago.

Download all attachments as: .zip

Change History (4)

@ramiy
11 years ago

#1 @ramiy
11 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 36772:

I18N: Remove <a> tag from translatable string in wp-includes/class-wp-customize-manager.php.

Props ramiy.
Fixes #35992.

#3 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review4.5
Note: See TracTickets for help on using tickets.