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

WordPress Trac noreply at wordpress.org
Thu Sep 8 18:45:43 UTC 2016


#26511: Introduce a locale-switching function
--------------------------------------+------------------------
 Reporter:  johnbillion               |       Owner:
     Type:  feature request           |      Status:  reviewing
 Priority:  normal                    |   Milestone:  4.7
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by GaryJ):

 Replying to [comment:52 swissspidy]:

 > @GaryJ Looking at #25293, an interface would make sense, even though
 it's probably a bit too much for now for only like 2-3 public methods.

 Even if there was just one public method, having an interface would
 contractually agree that that one method was present. Defensive coding
 should outweigh an extra file potentially being loaded IMHO.

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


More information about the wp-trac mailing list