Forums

2.7 : why using POST when GET is enough ? (3 posts)

  1. patpro
    Member
    Posted 11 months ago #

    Since version 2.7, WP uses POST method to request "wp-cron.php?check=...". What is the point ?

    My antispam filter works by denying POST method to people who fail to provide proper credentials. It's implemented on the server side (in httpd.conf). Then, the POST method is denied for wordpress or whatever process on the server.

    I had to edit wp-includes/cron.php to replace wp_remote_post with wp_remote_get. Is there any surprise like this one elsewhere ?
    I need to get rid of every POST requests made locally, and replace them with GET requests.

  2. mrmist
    Member
    Posted 11 months ago #

    For a specific thing like this you may get a better answer on the wp-hackers mailing list.

  3. patpro
    Member
    Posted 11 months ago #

    well, I'm definitively not a wp hacker, but it's worth a shot.

Reply

You must log in to post.

About this Topic

Tags