WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#14677 closed enhancement (fixed)

Use BASENAME as post_name map in Movable Type / TypePad import

Reported by: niallkennedy Owned by:
Milestone: WordPress.org Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords: has-patch
Focuses: Cc:

Description

The current version of movabletype-importer does not map Movable Type / TypePad slugs to WordPress slugs (basename and post_name in respective vocabularies).

The attached patch recognizes the BASELINE line and saves as the post object's post_name. I have also changed dynamic strings to static for speed and changed "MovableType" to "Movable Type" to match the brand.

If committed this patch will better help transition post URLs between Movable Type and TypePad blogs and their new WordPress blog.

Attachments (1)

movabletype-importer.diff (6.2 KB) - added by niallkennedy 5 years ago.
Map basename to post_name. Static strings instead of dynamic. Movable Type not MovableType.

Download all attachments as: .zip

Change History (3)

@niallkennedy5 years ago

Map basename to post_name. Static strings instead of dynamic. Movable Type not MovableType.

comment:2 @ryan5 years ago

  • Milestone changed from Awaiting Review to WordPress.org site
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.