mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user