Open simplenotezy opened 4 years ago
I noticed that bootstrap.js gets the CSRF token like this:
window.WordPress.csrfToken
But upon initial review of the code, I don't seem to find where this is set.
@simplenotezy this is defined by WordPress on the window object.
Hmmm.. Not for me?
I noticed that bootstrap.js gets the CSRF token like this:
But upon initial review of the code, I don't seem to find where this is set.