WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#15275 closed enhancement (fixed)

wordpress-importer trunk would benefit from listing: <display name> (<username>)

Reported by: lloydbudd Owned by: duck_
Milestone: WordPress.org Priority: low
Severity: minor Version: 3.1
Component: Import Keywords:
Focuses: Cc:

Description (last modified by duck_)

Environment

WordPress Trunk r16120 (3.1-alpha)
wordpress-importer trunk r306039

Background

WordPress Trunk r16120 (3.1-alpha) includes the author information in the export WXR v1.1 file. On wordpress-importer trunk r306039, the information is used to present the mapping information.

Current Behaviour

It looks like
Import author <display name> or map to existing user [Dropdown menu of <display name>].

Details

In a multi-author site it's not unusual for multiple contributors to have the same display name, or for authors that are no longer involved to have a shared display name.

Also, at the time the import is done during a site migration, it's not usual for the display names not to be set up yet, or for a different display name to be used.

I think the preferred format would be something like:

New Behaviour

Import author <display name> (<username>) or map to existing user [ Dropdown menu of <display name> (<username>)]

Additional Details

Relates to #15197 "WXR export/import umbrella ticket"

wordpress-importer trunk r306039 is a fantastic improvement on the current version (v2).

Change History (5)

#1 @lloydbudd
7 years ago

  • Description modified (diff)
  • Summary changed from wordpress-importer trunk to wordpress-importer trunk would benefit from listing: <display name> (<username>)

#2 @duck_
7 years ago

  • Milestone changed from Awaiting Review to WordPress.org site

Sounds good. Will get a change in shortly.

Related #15219

#3 @duck_
7 years ago

  • Description modified (diff)

http://plugins.trac.wordpress.org/changeset/309430

Half done as the dropdown doesn't contain both display and login name, this is a limitation of wp_dropdown_users so either its a roll our own dropdown or change in core (doubtful for 3.1 since it's an enhancement I guess).

#4 follow-up: @duck_
7 years ago

Oh, and unfortunately since WXR 1.0 files do not contain login information it's currently showing the display name twice though the second time (in brackets) it's sanitized so it may be different. Might try to detect that to save on confusion it may cause.

#5 in reply to: ↑ 4 @duck_
7 years ago

  • Component changed from General to Import
  • Resolution set to fixed
  • Status changed from new to closed

Replying to duck_:

Oh, and unfortunately since WXR 1.0 files do not contain login information it's currently showing the display name twice though the second time (in brackets) it's sanitized so it may be different. Might try to detect that to save on confusion it may cause.

http://plugins.trac.wordpress.org/changeset/345382/wordpress-importer

Note: See TracTickets for help on using tickets.