wordpress icon indicating copy to clipboard operation
wordpress copied to clipboard

Always cache the `check_api_key_stats` API result

Open brandomeniconi opened this issue 8 years ago • 0 comments

If the api_key provided in the plugin hasn't the stats scope, the check_api_key_stats function doesn't cache the result, leading to an HTTP request to re-check the scopes on every admin page load.

brandomeniconi avatar Nov 20 '17 10:11 brandomeniconi