daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?php
  2.         // catch some weird locales served out by WP.
  3.         $locales = array(
  4.             'ar'=> 'ar_ar',
  5.             'ca'=> 'ca_es',
  6.             'en'=> 'en_us',
  7.             'el'=> 'el_gr',
  8.             'et'=> 'et_ee',
  9.             'fi'=> 'fi_fi',
  10.             'ja'=> 'ja_jp',
  11.             'sq'=> 'sq_al',
  12.             'uk'=> 'uk_ua',
  13.             'vi'=> 'vi_vn',
  14.             'zh'=> 'zh_cn'
  15.         );
  16.        
  17.         if ( isset( $locales[ $locale ] ) )
  18.             $locale = $locales[$locale];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top