WordPress.org

Make WordPress Core

Changeset 22674


Ignore:
Timestamp:
11/19/2012 08:31:43 AM (8 years ago)
Author:
nacin
Message:

Call wp_cache_set() with a group and then an expiration in wp_mime_type_icon(). fixes #22503. see #22186.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r22635 r22674  
    43394339                }
    43404340            }
    4341             wp_cache_set('icon_files', $icon_files, 600);
     4341            wp_cache_set( 'icon_files', $icon_files, 'default', 600 );
    43424342        }
    43434343
Note: See TracChangeset for help on using the changeset viewer.