Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#53774 closed defect (bug) (fixed)

Bundled themes patterns: remove unwanted trailing spaces from translated strings

Reported by: audrasjb's profile audrasjb Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.9 Priority: normal
Severity: normal Version: 5.8
Component: Bundled Theme Keywords: has-patch commit
Focuses: coding-standards Cc:


In Twenty Fourteen and Twenty Sixteen, we may want to remove two unwanted trailing spaces from translatable strings.

I guess the issue was introduced in WP 5.8.

Attachments (1)

53774.diff (6.1 KB) - added by audrasjb 3 years ago.

Download all attachments as: .zip

Change History (5)

3 years ago

#1 @audrasjb
3 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
3 years ago

  • Milestone changed from Awaiting Review to 5.9

#3 @mukesh27
3 years ago

  • Keywords commit added

Patch 53774.diff working fine.

Marking for commit.

#4 @SergeyBiryukov
3 years ago

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

In 51496:

Bundled Themes: Remove extra trailing spaces from translatable strings in block patterns.

Follow-up to [49583], [51045].

Props audrasjb, mukesh27.
Fixes #53774.

Note: See TracTickets for help on using tickets.