Can you have more than one nonce on a page?

This turned out to be a pretty straightforward bug with my own code. The problem was my first form was checking for submission with a simple: if ( ‘POST’ == $_SERVER[‘REQUEST_METHOD’] ) { so it was being triggered even when the other form was submitted, and my wp_verify_nonce() check would fail and then it would … Read more

Handling expired nonces

Nonces are not magic bullet that by simply applying it everywhere your site get more secure. Talking broadly, nonce should be applied only to logged in users, and serve little purpose when applied to non logged in. Even for logged in users, there might be situations in which nonces are just not needed (like when … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)