Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#37515 closed defect (bug) (worksforme)

Using Add Media to import a Word document (.docx) just results in a link, not the document.

Reported by: kmessinger's profile kmessinger Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: Media Keywords:
Focuses: Cc:


Create a document in Word Online. Save to local computer. Using WP 4.6-RC1-38170, new post or new page, add media and select the saved .docx file. Just a link to the document is added, not the document itself.

Verified by 2 additional users.

Change History (2)

#1 @SergeyBiryukov
8 years ago

Hi @kmessinger, welcome to Trac!

Just a link to the document is added, not the document itself.

That's the case for other file types as well, e.g. .txt, .pdf, .zip, anything excerpt images, music, or video. How would the document itself be added?

If you mean the link should go to the attachment page and not to the file, what option is selected in the "Link To" dropdown in "Attachment Display Settings" section when inserting the file into the post?

Last edited 8 years ago by SergeyBiryukov (previous) (diff)

#2 @azaozz
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Adding a link to the .docx file is the expected behavior. By default WordPress does not "import" MS Word documents, or any other files. If you want to create a post with the same content, you can open the document, copy it and paste it in the editor.

As Sergey pointed out above, if you want to link to the attachment page instead, you can select that from the drop-down on the right in the media modal.

Last edited 8 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.