[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function

WordPress Trac noreply at wordpress.org
Tue May 31 01:40:23 UTC 2016


#26511: Introduce a locale-switching function
---------------------------------------------------+------------------
 Reporter:  johnbillion                            |       Owner:
     Type:  feature request                        |      Status:  new
 Priority:  normal                                 |   Milestone:  4.6
Component:  I18N                                   |     Version:
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch dev-feedback has-unit-tests  |     Focuses:
---------------------------------------------------+------------------
Changes (by pbearne):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback has-unit-
               tests


Comment:

 The public var $month_genitive was/is not declared in new WP_Locale this
 is also missing in the old WP_Locale

 {{{#!php
 <?php
         /**
          * Stores the translated strings for the full month names.
          * array( 'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja',
 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenoga',
 'prosinca' );
          *
          * @since 4.6.0
          * @var array
          */
         public $month_genitive;
 }}}

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


More information about the wp-trac mailing list