WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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
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 6 years ago.

Download all attachments as: .zip

Change History (4)

@ramiy
6 years ago

#1 @ramiy
6 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
6 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
6 years ago

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