Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10540 closed defect (bug) (fixed)

Typo in l10n.php

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

Description

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 17 years ago.

Download all attachments as: .zip

Change History (6)

#1 @CalebKniffen
17 years ago

  • Owner changed from nbachiyski to CalebKniffen
  • Status newaccepted

#2 @CalebKniffen
17 years ago

  • Keywords has-patch added

#3 @CalebKniffen
17 years ago

  • Keywords l10n removed

#4 @Denis-de-Bernardy
17 years ago

  • Keywords commit added
  • Milestone Unassigned2.9

#5 @westi
17 years ago

  • Resolutionfixed
  • Status acceptedclosed

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

Note: See TracTickets for help on using tickets.