[wp-cvs] wordpress xmlrpc.php,1.63,1.64
Michel Valdrighi
michelvaldrighi at users.sourceforge.net
Mon May 31 13:27:01 CDT 2004
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28569
Modified Files:
xmlrpc.php
Log Message:
ah, oops. used timestamp instead of mysql
Index: xmlrpc.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/xmlrpc.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** xmlrpc.php 31 May 2004 17:20:51 -0000 1.63
--- xmlrpc.php 31 May 2004 18:26:58 -0000 1.64
***************
*** 21,25 ****
global $xmlrpc_logging;
if ($xmlrpc_logging) {
! $fp = fopen("./xmlrpc.log","a+");
$date = gmdate("Y-m-d H:i:s ");
$iot = ($io == "I") ? " Input: " : " Output: ";
--- 21,25 ----
global $xmlrpc_logging;
if ($xmlrpc_logging) {
! $fp = fopen("./xmlrpcecto.log","a+");
$date = gmdate("Y-m-d H:i:s ");
$iot = ($io == "I") ? " Input: " : " Output: ";
***************
*** 957,964 ****
$post_date_gmt = iso8601_to_datetime($dateCreated, GMT);
} else {
! $post_date = current_time('timestamp');
! $post_date_gmt = current_time('timestamp', 1);
}
!
$catnames = $contentstruct['categories'];
logio("O","Post cats: " . print_r($catnames));
--- 957,964 ----
$post_date_gmt = iso8601_to_datetime($dateCreated, GMT);
} else {
! $post_date = current_time('mysql');
! $post_date_gmt = current_time('mysql', 1);
}
!
$catnames = $contentstruct['categories'];
logio("O","Post cats: " . print_r($catnames));
More information about the cvs
mailing list