WordPress.org

Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#4815 closed defect (bug)

TypePad Imported entries always end with <!--more--> — at Initial Version

Reported by: foolswisdom Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

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 452:

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

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

Change History (1)

@foolswisdom8 years ago

Trivial example

Note: See TracTickets for help on using tickets.