WordPress.org

Ready to get started?Download WordPress

Forums

inline-uploading - Linked to File + Using Filename error for Documents (4 posts)

  1. schun
    Member
    Posted 8 years ago #

    Hi,

    While I was testing the file uploading feature in wordpress 2.0.1, I found a problem with inserting the documents link using "Linked to File + Using Filename + Send to the Editor"

    By scanning "inline-uploading.php" file, I found the following in the line 262
    ----
    ...
    [code]
    ab[{$ID}] = '';[/code]

    -----

    After replacing {$filename} with {$attachment['guid']},I am able to link/insert the document file link correctly using (Linked to File + Using Filename + Send to Editor).

    In case anyone having the same problem, try this and see if this fixes the issue that you are having.

    Sarah

  2. TigressWoods
    Member
    Posted 8 years ago #

    Thanks for the tip. It works!

  3. johnh44
    Member
    Posted 8 years ago #

    Awesome find, Sarah! I made the same change and it works.

  4. dito199
    Member
    Posted 7 years ago #

    Thanks for the tips.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.