Nonce code vulnerability

you should not use nonce on public pages. Nonces should protect against action which can perfom things the user might regret that they were done without his explicit consent. While the user might also regret sending some kind of “contact form” that is more of a mental thing, not something that can be solved with … Read more

$_GET[”] variable with nonce verification

There are two ways of creating nonce verification for $_GET parameters: If you are coming from a form, you can use the wp_nonce_field function to create your own field. For example: <form action=”edit.php” method=”get”> <input type=”text” name=”example”> ….. <?php wp_nonce_field(‘my_custom_action’, ‘my_custom_name’); ?> <input type=”submit” value=”Submit”> </form> If you are coming from a link you created, … Read more

Check nonce in the new bulk_edit_posts action

In order for the nonce verification to work, I needed to replace this: wp_verify_nonce( wp_unslash( $shared_post_data[‘lot_edit_nonce’] ), plugin_basename( __FILE__ ) ) with this: wp_verify_nonce( wp_unslash( $shared_post_data[‘_wpnonce’] ), ‘bulk-posts’ )

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