This should be a cache add, not a cache set. see #22503.
git-svn-id: https://develop.svn.wordpress.org/trunk@22676 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
68a3e80d4d
commit
52cc02a9be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user