Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#35992 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (wp-includes/class-wp-customize-manager.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: administration Cc:

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 9 years ago.

Download all attachments as: .zip

Change History (4)

@ramiy
9 years ago

#1 @ramiy
9 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
9 years ago

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

In 36772:

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

Props ramiy.
Fixes #35992.

#3 @SergeyBiryukov
9 years ago

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