Fecha en los comentarios - Wordpress 2.5
Informatica,IRC & WwW, Web AH.com y Blog | 10 de Abril del 2008 | 135 lecturas
Otra jugarreta ya no se si del actual theme (U_u) o del wordpress 2.5.
Cuando comentas un post de hace 3 dias, por ejemplo, y lo comentas a dia de hoy, te pone la fecha de hace 3 dias (y hora actual). Sin embargo editas el comentario y tiene fecha de de HOY. Lo más probable que sea del theme…
When you write a comment in a post of 3 days ago, for example, today, the comment have date and hour of 3 days ago. However if you edit the comment have date of today and not of 3 days ago. I think that is of the theme the problem…
A ver si no soy el unico que le ocurre…
EDIT: Comprobardo, es del theme :)



Entre tanto ayer y hoy, y luego la hora de ayer con las lluvias de mañana y el que hacer del finde… me he hecho la picha un lio y no he entendido nada, QUE LO SEPAS !
El problema es que al escribir un comentario en un post viejo le pone fecha vieja y no actual al comentario.
simplemente…
El sr http://www.galder.net me ha ayudado a arreglarlo. Pasteo su email:
En comments.php hay un error, donde pone the_time(’d/m/Y’) sustitúyelo por < ?php comment_time('d/m/Y') ?> Te paso el código completo debajo.
the_time se refiere a la fecha de nuestro post, no de los comentarios, de ahí el error.
Para quien lo necesite.
Un saludo.