From a1dba4a7095098a2e4a54119aff681467b33bded Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 19 Nov 2012 08:31:43 +0000 Subject: [PATCH] Call wp_cache_set() with a group and then an expiration in wp_mime_type_icon(). fixes #22503. see #22186. git-svn-id: http://core.svn.wordpress.org/trunk@22674 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index b4166ea0e2..582b94cee0 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -4338,7 +4338,7 @@ function wp_mime_type_icon( $mime = 0 ) { closedir($dh); } } - wp_cache_set('icon_files', $icon_files, 600); + wp_cache_set( 'icon_files', $icon_files, 'default', 600 ); } // Icon basename - extension = MIME wildcard