form action wordpress and php
If you’re using WordPress, you shouldn’t send POST requests directly to current URL. There is an API to process such requests. So how should that be done? First of all, you should send request to admin-ajax.php: So instead of this: <from action=”<?php get_permalink( $post->ID ) ?>” method=”POST” id=””> You should have this (also, there was … Read more