This should be a cache add, not a cache set. see #22503.

git-svn-id: http://core.svn.wordpress.org/trunk@22676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-19 08:39:52 +00:00
parent d9d0f9a714
commit 2f77c7984b
1 changed files with 1 additions and 1 deletions

View File

@ -4338,7 +4338,7 @@ function wp_mime_type_icon( $mime = 0 ) {
closedir($dh);
}
}
wp_cache_set( 'icon_files', $icon_files, 'default', 600 );
wp_cache_add( 'icon_files', $icon_files, 'default', 600 );
}
// Icon basename - extension = MIME wildcard