Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment