This is more of a security question. I have a blog layout that has a loader at the bottom of my posts, and when you get to it, ajax call will be triggered, it will call the function that will render more posts.
This all works. But one thing is bothering me: should I use
GET method? the
GET won't trigger nonce issues when doing code sniffing using
phpcs, while with
POST I get the
Processing form data without nonce verification
Now, all I am doing is fetching posts from the database by calling the callback function that is hooked to
Should I be worried about security in this case, and append a nonce field in my blog, or should I just use
GET method instead?