WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#7595 closed enhancement (fixed)

Wordpress WXR Importer patch to resolve absolute urls without protocol and domain

Reported by: noel Owned by: noel
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.6.1
Component: Administration Keywords:
Focuses: Cc:

Description

This patch enhances the file import mechanism by guessing the URL from the base_site_url variable in the WXR file when importing files that begin with / instead of http://

Attachments (2)

wordpress-wxr-import-file-import.patch (1.5 KB) - added by noel 7 years ago.
Fixes file download/upload mechanism for files without http://
7595.2.patch (1.5 KB) - added by Viper007Bond 7 years ago.
Very minor code formatting nitpicking

Download all attachments as: .zip

Change History (3)

@noel7 years ago

Fixes file download/upload mechanism for files without http://

@Viper007Bond7 years ago

Very minor code formatting nitpicking

comment:1 @ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8799]) WXR Importer fix to resolve absolute urls without protocol and domain. fixes #7595

Note: See TracTickets for help on using tickets.