Changeset 11544
- Timestamp:
- 06/10/2009 04:23:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r11533 r11544 3218 3218 usort($zonen, create_function( 3219 3219 '$a, $b', ' 3220 $a_continent = translate($a["continent"], "continents-cities"); 3221 $b_continent = translate($b["continent"], "continents-cities"); 3222 $a_city = translate($a["city"], "continents-cities"); 3223 $b_city = translate($b["city"], "continents-cities"); 3224 $a_subcity = translate($a["subcity"], "continents-cities"); 3225 $b_subcity = translate($b["subcity"], "continents-cities"); 3220 $t = create_function(\'$s\', \'return translate(str_replace("_", " ", $s), "continents-cities");\'); 3221 $a_continent = $t($a["continent"]); 3222 $b_continent = $t($b["continent"]); 3223 $a_city = $t($a["city"]); 3224 $b_city = $t($b["city"]); 3225 $a_subcity = $t($a["subcity"]); 3226 $b_subcity = $t($b["subcity"]); 3226 3227 if ( $a_continent == $b_continent && $a_city == $b_city ) 3227 3228 return strnatcasecmp($a_subcity, $b_subcity);
Note: See TracChangeset
for help on using the changeset viewer.