Ticket #4815 (closed defect (bug): fixed)

Opened 1 year ago

Last modified 1 year ago

TypePad Imported entries always end with <!--more-->

Reported by: foolswisdom Assigned to: anonymous
Priority: normal Milestone: 2.3
Component: Administration Version: 2.3
Severity: normal Keywords: has-patch
Cc:

Description (Last modified by foolswisdom)

TypePad? Imported entries always end with <!--more-->

ENV: WP trunk r5939

This week I received a TypePad? export, and each entry includes the common:

-----
EXTENDED BODY:

-----

This results in each entry being imported with a <!--more--> at the end.

ADDITIONAL DETAILS

$post->extended is a single space ' ', and wp-admin/import/mt.php line 213:

	if ( '' != $post->extended )
		$post->post_content .= "\n<!--more-->\n$post->extended";

The WordPress 2.2.x code firsts trims the whitespace before the comparison.

Attachments

typepad-import-always-more.txt (307 bytes) - added by foolswisdom on 08/25/07 16:42:26.
Trivial example
4815.diff (0.6 kB) - added by Nazgul on 08/27/07 12:44:05.

Change History

08/25/07 16:42:26 changed by foolswisdom

  • attachment typepad-import-always-more.txt added.

Trivial example

08/25/07 16:48:27 changed by foolswisdom

  • description changed.

08/27/07 12:44:05 changed by Nazgul

  • attachment 4815.diff added.

08/27/07 12:44:20 changed by Nazgul

  • keywords set to has-patch.

08/27/07 15:17:00 changed by ryan

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

(In [5948]) Trim before comparison. Props foolswisdom and Nazgul. fixes #4815