WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10540 closed defect (bug) (fixed)

Typo in l10n.php

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

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

Download all attachments as: .zip

Change History (6)

comment:1 @CalebKniffen6 years ago

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

comment:2 @CalebKniffen6 years ago

  • Keywords has-patch added

comment:3 @CalebKniffen6 years ago

  • Keywords l10n removed

comment:4 @Denis-de-Bernardy6 years ago

  • Keywords commit added
  • Milestone changed from Unassigned to 2.9

comment:5 @westi6 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.