[wp-trac] [WordPress Trac] #15634: WP Importer should warn if WXR format is newer than it nows about

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 28 17:25:22 UTC 2011


#15634: WP Importer should warn if WXR format is newer than it nows about
-------------------------+----------------------------
 Reporter:  lloydbudd    |       Owner:  duck_
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  WordPress.org
Component:  Import       |     Version:  3.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+----------------------------
Changes (by duck_):

 * keywords:   => has-patch


Comment:

 Attached patches for two different approaches:

  - 15634.warn-on-wxr-version.diff will hardcode a maximum supported
 version into the importer plugin. A warning is then displayed if a file is
 uploaded which has a greater version specified in the wp:wxr_version tag.

  - 15634.warn-on-update.diff will display a warning if there is an update
 available for the WordPress importer. This works on the assumption that if
 the export file format is bumped then a new plugin will also be pushed to
 support the extra features.

 It may also be possible to block operation instead of just displaying a
 warning, but this seems rather extreme. It could also be the case that the
 export format version number gets bumped but old importers are still
 compatible (don't know of a such a scenario off the top of my head), in
 this case I think the warn-on-update might be better.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15634#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list