Make WordPress Core


Ignore:
Timestamp:
03/10/2009 03:24:12 PM (16 years ago)
Author:
ryan
Message:

Exclude deprecated timezones. see #3962

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10753 r10755  
    31103110    $pad = '   ';
    31113111
     3112    $continents = array('Africa', 'America', 'Antarctica', 'Arctic', 'Asia', 'Atlantic', 'Australia', 'Europe', 'Indian', 'Pacific', 'Etc');
     3113
    31123114    if ( empty($selectedzone) )
    31133115        $structure .= '<option selected="selected" value="">' . __('Select a city') . "</option>\n";
    31143116    foreach ( $zonen as $zone ) {
    31153117        extract($zone);
     3118        if ( ! in_array($continent, $continents) )
     3119            continue;
    31163120        if ( empty($selectcontinent) && !empty($city) ) {
    31173121            $selectcontinent = $continent;
Note: See TracChangeset for help on using the changeset viewer.