Changeset 11678
- Timestamp:
- 07/01/2009 05:59:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-includes/functions.php
r11648 r11678 3223 3223 * Gives a nicely formatted list of timezone strings // temporary! Not in final 3224 3224 * 3225 * @param string $selectedzone - which zone should be the selectedone3225 * @param $selected_zone string Selected Zone 3226 3226 * 3227 3227 */ … … 3321 3321 3322 3322 // Close continent optgroup 3323 if ( !empty( $zone['city'] ) && isset( $zonen[$key + 1] ) && $zonen[$key + 1]['continent'] !== $zone['continent']) {3323 if ( !empty( $zone['city'] ) && ( !isset($zonen[$key + 1]) || (isset( $zonen[$key + 1] ) && $zonen[$key + 1]['continent'] !== $zone['continent']) ) ) { 3324 3324 $structure[] = '</optgroup>'; 3325 3325 }
Note: See TracChangeset
for help on using the changeset viewer.