WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#11422 closed enhancement (fixed)

Use BASENAME as post_name in MT import

Reported by: Akinori MUSHA Owned by:
Milestone: WordPress.org Priority: normal
Severity: normal Version: 2.8.6
Component: Import Keywords: has-patch
Focuses: Cc:
PR Number:

Description

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 10 years ago.
the patch

Download all attachments as: .zip

Change History (5)

@Akinori MUSHA
10 years ago

the patch

#1 @nacin
10 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
9 years ago

  • Milestone changed from 3.1 to WordPress.org site

#3 @nacin
9 years ago

  • Owner nacin deleted

#4 @ryan
9 years ago

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