Commit 6d489e8a authored by Erick Hitter's avatar Erick Hitter
Browse files

Helps to return values after modifying them, as I failed to do in 01b7283c.

parent 9f98ee18
......@@ -1023,6 +1023,8 @@ class WP_Object_Cache {
*/
protected function prepare_value_for_redis( $value ) {
$value = maybe_serialize( $value );
return $value;
}
/**
......@@ -1033,6 +1035,8 @@ class WP_Object_Cache {
*/
protected function restore_value_from_redis( $value ) {
$value = maybe_unserialize( $value );
return $value;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment