WordPress.org

Make WordPress Core

Ticket #9793: 9793.diff

File 9793.diff, 627 bytes (added by Denis-de-Bernardy, 5 years ago)
  • wp-includes/functions.php

     
    31413141                $zone = explode('/',$zone); 
    31423142                if ( ! in_array($zone[0], $continents) ) 
    31433143                        continue; 
     3144                if ( $zone[0] == 'Etc' && in_array($zone[1], array('UCT', 'GMT', 'GMT0', 'GMT+0', 'GMT-0', 'Greenwich', 'Universal', 'Zulu')) ) 
     3145                        continue; 
    31443146                $zonen[$i]['continent'] = isset($zone[0]) ? $zone[0] : ''; 
    31453147                $zonen[$i]['city'] = isset($zone[1]) ? $zone[1] : ''; 
    31463148                $zonen[$i]['subcity'] = isset($zone[2]) ? $zone[2] : '';