Errore nell’invio dei commenti con WordPress (CVS)  

Ho riscontrato un problema con la versione di WordPress prelevabile dal CVS (attualmente la 1.3-alpha-5).
In pratica quando qualcuno invia un commento appare questo errore:

Warning: Missing argument 6 for check_comment() in /home/foobar/public_html/wp-includes/functions.php on line 1685

Ho risolto rimuovendo la variabile “$user_agent” dal file functions.php:
function check_comment($author, $email, $url, $comment, $user_ip) {

e commentando la riga seguente:
//if ( preg_match($pattern, $user_agent) ) return false;


Tag:
Condividi questo post con gli altri:
  • co.mments
  • del.icio.us
  • BarraPunto
  • E-mail this story to a friend!
  • Facebook
  • Google
  • Segnalo
  • StumbleUpon
  • Technorati


2 Commenti a “Errore nell’invio dei commenti con WordPress (CVS)”

  1. 1
    Elena il

    Dava anche a me lo stesso problema.
    Grazie per la soluzione.

    Ciao,
    Elena.



  2. 2
    Antibush il

    Bush and the Republicans were not protecting us on 9-11, and we aren’t a lot safer now. We may be more afraid due to george bush, but are we safer? Being fearful does not necessarily make one safer. Fear can cause people to hide and cower. What do you think? What is he doing to us, and what is he doing to the world?
    Our country is in debt until forever, we don’t have jobs, and we live in fear. We have invaded a country and been responsible for thousands of deaths.
    We have lost friends and influenced no one. No wonder most of the world thinks we suck. Thanks to what george bush has done to our country during the past three years, we do!



Scrivi un commento