[wp-trac] Re: [WordPress Trac] #4815: TypePad Imported entries always end with <!--more-->

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 25 16:48:27 GMT 2007


#4815: TypePad Imported entries always end with <!--more-->
----------------------------+-----------------------------------------------
 Reporter:  foolswisdom     |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.3      
Component:  Administration  |      Version:  2.3      
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Old 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.

New 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
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4815#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list