jakobbouchard / hestia-nginx-cache

Hestia Nginx Cache Integration for WordPress.
https://wordpress.org/plugins/hestia-nginx-cache/
GNU General Public License v3.0
11 stars 4 forks source link

Number appearing on page #15

Closed AlecRust closed 1 year ago

AlecRust commented 1 year ago

I assume since the latest release, when logged in, I'm seeing a number off to the left on all pages 🙂

image

This appears to be in the HTML:

<span id="hestia-nginx-cache-purge-wp-nonce" class="hidden">1580391665</span>

Looks like your plugin is relying on the .hidden class existing? It doesn't exist in my case.

jaapmarcus commented 1 year ago

Yes...

https://github.com/jakobbouchard/hestia-nginx-cache/blob/09fdce32ad394ba774fee486779f0886650f6c40/includes/admin.php#L230-L235

jakobbouchard commented 1 year ago

whoops it exists in the admin, but not the frontend I guess. I'll fix that later today!

jakobbouchard commented 1 year ago

I fixed it, I hide the nonce manually now :)