Skip to content
New issue

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

Sane-ify caching when debugging #132

Closed
patrickmj opened this issue Nov 14, 2018 · 1 comment
Closed

Sane-ify caching when debugging #132

patrickmj opened this issue Nov 14, 2018 · 1 comment
Assignees

Comments

@patrickmj
Copy link
Member

All the shortcodes currently cache their results with set/get_transient, which sets an expiry time of 1000 minutes, making debugging a bit annoying to change that time to get all the code to run.

A simple check on whether WP_DEBUG is true to decide whether to cache in all the shortcodes should do the trick.

@patrickmj patrickmj self-assigned this Nov 14, 2018
@patrickmj
Copy link
Member Author

Fixed in 24b3191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant