Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#20500 closed defect (bug) (fixed)

Different placeholder for exactly the same string

Reported by: jiehanzheng's profile jiehanzheng Owned by: nacin's profile 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 12 years ago.
Changes the first reference to "%s"

Download all attachments as: .zip

Change History (3)

@jiehanzheng
12 years ago

Changes the first reference to "%s"

#1 @nacin
12 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.

#2 @SergeyBiryukov
12 years ago

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