Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#9847 closed defect (bug) (fixed)

wp_sprintf_l() incorrect last item separator

Reported by: abelcheung Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch
Focuses: Cc:


While ", and" is only a separator between last 2 items in English, in formatting.php it is used as separator between last *3* items instead. This is due to an incorrect item count, which is fixed in the patch attached.

Attachments (1)

wp-fix-wp_sprintf_l-count.patch (330 bytes) - added by abelcheung 12 years ago.
Fix item count in wp_sprintf_l()

Download all attachments as: .zip

Change History (3)

12 years ago

Fix item count in wp_sprintf_l()

#1 @Denis-de-Bernardy
12 years ago

  • Milestone changed from Unassigned to 2.8

#2 @ryan
12 years ago

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

(In [11394]) Fix item count in wp_sprintf_l(). Props abelcheung. fixes #9847

Note: See TracTickets for help on using tickets.