WP Multilang cache issue Patch
-
Hi, thank you for all your work so far with this plugin! You have managed to create a must have plugin for everyone using the WP REST API, without it loading times are horrible.
I was facing an issue when using the plugin WP Multilang, the cache would be set on the first language visited and served to all languages from then on.
After looking at your source code I noticed that I was able to patch this very simply by adding the language from the request object.
trait-controller.php line 47
$key = $this->get_id( $item ) . “_” . $request[‘lang’];I tried looking for the github repo to create a pull request but didn’t find it. Would it be possible to include this on an upcoming version of your plugin?
Once again, I am really grateful for making the only cache plugin that actually works with the rest api!
- The topic ‘WP Multilang cache issue Patch’ is closed to new replies.