Remove smilies sort. Props random. fixes #2550

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-04-22 00:10:12 +00:00
parent 033a947a4c
commit 4d999b3f51
1 changed files with 0 additions and 10 deletions

View File

@ -92,16 +92,6 @@ if (!isset($wpsmiliestrans)) {
);
}
// sorts the smilies' array
if (!function_exists('smiliescmp')) {
function smiliescmp ($a, $b) {
if (strlen($a) == strlen($b)) {
return strcmp($a, $b);
}
return (strlen($a) > strlen($b)) ? -1 : 1;
}
}
uksort($wpsmiliestrans, 'smiliescmp');
// generates smilies' search & replace arrays
foreach($wpsmiliestrans as $smiley => $img) {