Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#10540 closed defect (bug) (fixed)

Typo in l10n.php

Reported by: calebkniffen's profile CalebKniffen Owned by: calebkniffen's profile CalebKniffen
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.2
Component: I18N Keywords: has-patch commit
Focuses: Cc:


On line 256 of l10n there is what I believe to be a typo.

return apply_filters( 'ngettext_with_context ', $translation, $single, $plural, $number, $context, $domain );

I think it the filter should not be "ngettext_with_context " but rather "ngettext_with_context".

I apologize in advance if I am not submitting this correctly it is my first time.

Attachments (1)

ngettext_with_context_patch.patch (622 bytes) - added by CalebKniffen 15 years ago.

Download all attachments as: .zip

Change History (6)

#1 @CalebKniffen
15 years ago

  • Owner changed from nbachiyski to CalebKniffen
  • Status changed from new to accepted

#2 @CalebKniffen
15 years ago

  • Keywords has-patch added

#3 @CalebKniffen
15 years ago

  • Keywords l10n removed

#4 @Denis-de-Bernardy
15 years ago

  • Keywords commit added
  • Milestone changed from Unassigned to 2.9

#5 @westi
15 years ago

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

(In [11780]) Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen.

Note: See TracTickets for help on using tickets.