inpsyde / WP-Stash

Bridge between WordPress and StashPHP, providing a PSR6-compliant caching system for WordPress
https://inpsyde.com/en/wordpress-caching-system-wpstash/
GNU General Public License v2.0
51 stars 13 forks source link

WP Stash flush return false #24

Closed cagdasdag closed 2 years ago

cagdasdag commented 2 years ago

So basically we changed $response['headers']['WP-Stash'] to $response['headers']['WP - Stash'] for codestyle fix. I'm assuming it was an autocomplete issue. https://github.com/inpsyde/WP-Stash/blob/d91b9d339e88404ea93e06fb34df46828b2f8369/src/Cli/WpCliCommand.php#L101

Here is what I see on website as an error; Screen Shot 2022-08-15 at 10 35 04

When I try to debug and echo $response['headers'] I see this; Screen Shot 2022-08-12 at 16 10 14

So I feel like it should be wp-stash instead of WP - Stash.