Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Using own prevent_browser_caching

$
0
0

Replies: 0

I am experimenting with my own prevent_browser_caching() function.

Not sure what settings are required in the Prevent Browser Caching panel when supplying my own prevent_browser_caching function.

I find that if I attempt to change the settings when I have a prevent_browser_caching() in my functions.php file, it throws an error:
Fatal error: Uncaught Error: Class ‘Prevent_Browser_Caching’ not found in

I have to comment out my own prevent_browser_caching() function, save the settings panel and then re-enable my own function.

A bug? And what settings in the panel are appropriate when I am supplying my own function?


Viewing all articles
Browse latest Browse all 59525

Trending Articles