Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#11422 closed enhancement (fixed)

Use BASENAME as post_name in MT import

Reported by: akinori-musha's profile Akinori MUSHA Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.6
Component: Import Keywords: has-patch
Focuses: Cc:


I believe it is good to use the BASENAME field as post_name for each post.
It makes it much easier to write redirection/rewrite rules for site transition.

Attached is a patch against wp-admin/import/mt.php from version 2.8.6.

Attachments (1)

mt.php.patch (485 bytes) - added by Akinori MUSHA 15 years ago.
the patch

Download all attachments as: .zip

Change History (5)

@Akinori MUSHA
15 years ago

the patch

#1 @nacin
14 years ago

  • Keywords has-patch added
  • Milestone changed from Unassigned to 3.1
  • Owner set to nacin
  • Status changed from new to assigned

Seems sensible to me.

#2 @nacin
14 years ago

  • Milestone changed from 3.1 to site

#3 @nacin
14 years ago

  • Owner nacin deleted

#4 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.