[wp-cvs] wordpress xmlrpc.php,1.22,1.23

Michel Valdrighi michelvaldrighi at users.sourceforge.net
Sat Sep 18 17:03:11 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv804

Modified Files:
	xmlrpc.php 
Log Message:
whoops, a dot that was removed yesterday came back when restoring the file

Index: xmlrpc.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/xmlrpc.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** xmlrpc.php	17 Sep 2004 20:53:18 -0000	1.22
--- xmlrpc.php	18 Sep 2004 17:03:08 -0000	1.23
***************
*** 4,8 ****
  $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
  
! include('../wp-config.php');
  include_once(ABSPATH . WPINC . '/class-IXR.php');
  include_once(ABSPATH . WPINC . '/functions-post.php');
--- 4,8 ----
  $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
  
! include('./wp-config.php');
  include_once(ABSPATH . WPINC . '/class-IXR.php');
  include_once(ABSPATH . WPINC . '/functions-post.php');
***************
*** 1221,1225 ****
  
  
! 		// Check if pings are on, inelegant exit
  		$pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $post_ID");
  		if ('closed' == $pingstatus) {
--- 1221,1225 ----
  
  
! 		// Check if pings are on
  		$pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $post_ID");
  		if ('closed' == $pingstatus) {




More information about the cvs mailing list