WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20500 closed defect (bug) (fixed)

Different placeholder for exactly the same string

Reported by: jiehanzheng Owned by: nacin
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

The string

Check your inbox at <strong>[$user_email]</strong> and click the link given.

is logically used twice in wp-signup.php. However, in the first occurrence, $user_email is referred to as "%1$s", whereas in the second occurrence, it is referred to as "%s". And this makes an extra POT translate template entry.

Attachments (1)

20500.diff (756 bytes) - added by jiehanzheng 3 years ago.
Changes the first reference to "%s"

Download all attachments as: .zip

Change History (3)

@jiehanzheng3 years ago

Changes the first reference to "%s"

comment:1 @nacin3 years ago

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

In [20556]:

Combine two strings. props jiehanzheng. fixes #20500.

comment:2 @SergeyBiryukov3 years ago

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