plausible / wordpress

Plausible Analytics WordPress plugin
https://plausible.io/wordpress-analytics-plugin
MIT License
50 stars 26 forks source link

Proxy fixes #124

Closed Dan0sz closed 1 year ago

Dan0sz commented 1 year ago

This PR makes the proxy feature a bit more user friendly, according to @metmarkosaric and @ukutaht's comments. It also fixes a few bugs and adds LiteSpeed Cache compatibility.

Disabled:

afbeelding

The test button is disabled, because the API is now disabled if the Proxy feature is disabled (to save memory).

I left the Proxy status box there on purpose, when the Proxy is disabled. So that people expect something to appear there when the proxy is enabled.

Enabled:

afbeelding

Edit: In the last few commits the Proxy Status box is removed, and replaced by an admin wide, dismissable notice if the Proxy Speed Module failed to install, providing a link to a solution.

afbeelding