[wp-cvs] wordpress xmlrpc.php,1.20,1.21

Michel Valdrighi michelvaldrighi at users.sourceforge.net
Fri Sep 17 20:48:46 UTC 2004


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

Modified Files:
	xmlrpc.php 
Log Message:
moved wp-admin/xmlrpc.php to the root dir

Index: xmlrpc.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/xmlrpc.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** xmlrpc.php	17 Sep 2004 10:35:41 -0000	1.20
--- xmlrpc.php	17 Sep 2004 20:48:43 -0000	1.21
***************
*** 4,13 ****
  $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');
  
  // Turn off all warnings and errors.
! // error_reporting(0);
  
  $post_default_title = ""; // posts submitted via the xmlrpc interface get that title
[...3052 lines suppressed...]
  
! "b2.ping" =>
! array("function" => "b2ping",
! 	 "signature" => $wpping_sig,
! 	 "docstring" => $wpping_doc),
  
+ "pingback.ping" =>
+ array("function" => "pingback_ping",
+ 	 "signature" => $pingback_ping_sig,
+ 	 "docstring" => $pingback_ping_doc),
  
! "b2.getPostURL" =>
! array("function" => "pingback_getPostURL",
! 	 "signature" => $wp_getPostURL_sig,
! 	 "docstring" => $wp_getPostURL_doc),
! );
  
! $s = new xmlrpc_server($dispatch_map);
! 
! ?>




More information about the cvs mailing list