Get rid of wp_cache_key(), as it's not really that useful. See [15838]

git-svn-id: https://develop.svn.wordpress.org/trunk@15839 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-10-18 21:54:39 +00:00
parent e62f41c374
commit dfbe420d9c
2 changed files with 3 additions and 21 deletions
+2 -2
View File
@@ -3989,7 +3989,7 @@ function _get_last_post_time( $timezone, $field ) {
$post_types = apply_filters( "get_lastpost{$field}_post_types", (array) $post_types );
$key = "lastpost{$field}:$blog_id:$timezone:" . wp_cache_key( $post_types );
$key = "lastpost{$field}:$blog_id:$timezone:" . md5( serialize( $post_types ) );
$date = wp_cache_get( $key, 'timeinfo' );
@@ -5048,4 +5048,4 @@ function wp_quickpress_form( $args = array(), $post_type = 'post'){
endif;
}
?>
?>