WordPress.org

Make WordPress Core

Opened 2 months ago

Closed 2 months ago

#53774 closed defect (bug) (fixed)

Bundled themes patterns: remove unwanted trailing spaces from translated strings

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

Description

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 2 months ago.

Download all attachments as: .zip

Change History (5)

@audrasjb
2 months ago

#1 @audrasjb
2 months ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
2 months ago

  • Milestone changed from Awaiting Review to 5.9

#3 @mukesh27
2 months ago

  • Keywords commit added

Patch 53774.diff working fine.

Marking for commit.

#4 @SergeyBiryukov
2 months 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.