Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15677, comment 4


Ignore:
Timestamp:
10/09/2013 12:54:29 AM (11 years ago)
Author:
iandunn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15677, comment 4

    initial v1  
    33e.g., `$lang_codes['pt']` is now split into `$lang_codes['pt_PT']` and `$lang_codes['pt_BR']`. There are some similar changes with other languages as well.
    44
    5 The could bite a plugin that's calling `format_code_lang()` directly, or using the `lang_codes` filter, since the input/output wouldn't always match what they're expecting anymore.
     5That could bite a plugin that's calling `format_code_lang()` directly, or using the `lang_codes` filter, since the input/output wouldn't always match what they're expecting anymore.
    66
    77One inelegant solution would be to go through all the codes one by one, determine which ones have changed, and add duplicate entries for them in the array. That would be kind of lame, though, so I'm hoping someone has a better idea.