[wp-trac] [WordPress Trac] #11226: Month name declension case

WordPress Trac noreply at wordpress.org
Wed Nov 4 21:27:43 UTC 2015


#11226: Month name declension case
----------------------------+-----------------------------
 Reporter:  waclawjacek     |       Owner:  SergeyBiryukov
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  4.4
Component:  I18N            |     Version:  2.9
 Severity:  minor           |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35517"]:
 {{{
 #!CommitTicketReference repository="" revision="35517"
 Introduce `wp_maybe_decline_date()` for languages where certain date
 formats need to be declined, and hook it to the `date_i18n` filter.

 If the locale specifies that month names require a genitive case in
 certain formats like `'j F Y'` or `'j. F'`, the month name will be
 replaced with a correct form.

 Fixes #11226.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/11226#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list