We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I've spotted an error in the get_transient_key method of the Transient class which could cause a cache key conflict.
get_transient_key
Transient
Basically the sprintf on line 220
sprintf
$transient_key = sprintf( 'wp-graphql-cache-%s', md5($zone), md5($cache_key) );
has only one placeholder, therefore the hashed value of the $cache_key is never included in the transient key.
$cache_key
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I've spotted an error in the
get_transient_key
method of theTransient
class which could cause a cache key conflict.Basically the
sprintf
on line 220has only one placeholder, therefore the hashed value of the
$cache_key
is never included in the transient key.The text was updated successfully, but these errors were encountered: