Ticket #1853 (closed defect: worksforme)

Opened 3 years ago

Last modified 2 years ago

Trackback doesn't work through api

Reported by: tbrettinger Assigned to: anonymous
Priority: normal Milestone:
Component: XML-RPC Version: 1.5.2
Severity: normal Keywords: bg|needs-testing
Cc:

Description

It seems to be impossible to make outgoing trackbacks work through the api in 1.5.2

Submitting a post with trackbacks through the web interface works, using a client it doesn't.

The Problem is also described here and here

Change History

11/08/05 14:01:23 changed by westi

Looking at xmlrpc.php trackbacks won't be sent as the call to trackback_url_list is commented out.

Also there is a check on an undefined variable $post_pingback to decide if pingbacks should be sent.

	  // FIXME: do we pingback always? pingback($content, $post_ID);
	  // trackback_url_list($content_struct['mt_tb_ping_urls'], $post_ID);
		if ('publish' == $post_status) {
			if ($post_pingback) pingback($content, $post_ID);
			do_enclose( $content, $post_ID );
			do_trackbacks($post_ID);
			do_action('publish_post', $post_ID);
		}	
		do_action('edit_post', $post_ID);

	  return true;

This issue is true for both mw_editPost and mw_newPost

11/08/05 14:03:42 changed by westi

  • keywords set to bg|needs-testing.

Above comment refers to 1.5.2

Looks fixed in trunk as mw_editPost and mw_newPost now call wp_insert_post and wp_update_post respectively

Needs testing against trunk

11/09/05 17:07:20 changed by tbrettinger

I'm really no expert of either the WP code nor of PHP - but it looks as if blogger and MetaWeblog? APIs call wp_insert_post / wp_update_post already in 1.5.2, but the MoveableType API doesn't.

Maybe that's where the problem is?

11/17/05 23:08:06 changed by ryan

  • milestone set to 2.0.

11/25/05 22:53:32 changed by matt

  • status changed from new to closed.
  • resolution set to worksforme.

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted