Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#34686 closed defect (bug) (fixed)

Avoid using <a> tags in translation strings

Reported by: ramiy Owned by: SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:


Replace the old string:

<a href="%1$s">%2$s at %3$s</a>

With the new:

%1$s at %2$s

Moving the <a> tag out of the translation string to the code.

Attachments (1)

34686.patch (1.7 KB) - added by ramiy 6 years ago.

Download all attachments as: .zip

Change History (4)

6 years ago

#1 @SergeyBiryukov
6 years ago

In 35665:

I18N: Remove <a> tag from translatable string in wp-admin/comment.php.

Props ramiy.
See #34686.

#2 @SergeyBiryukov
6 years ago

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

In 35666:

I18N: Remove <a> tag from translatable string in wp-admin/includes/class-wp-comments-list-table.php.

Props ramiy.
Fixes #34686.

#3 @SergeyBiryukov
6 years ago

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