WordPress.org

Ready to get started?Download WordPress

Forums

Add media files : How to set : Default link url : None (1 post)

  1. here
    Member
    Posted 5 years ago #

    I'm looking for a way to control the default link behavior for all users when adding new media to a post.

    New Post
    Add media files from your computer
    Link URL (Enter a link URL or click above for presets.)

    Currently defaults to "File URL"
    Would like to default to "None".

    Best hack/solution offered is to visit the Settings->Media page and click "Save Changes" -- which apparently causes a change in the default behavior. However, this does not apply to other blog users.
    http://wordpress.org/support/topic/343943
    http://wordpress.org/support/topic/350748

    -----------

    Trac info and possible hooks/functions:
    Here are some related trac links, though I can't find the referenced functions in media.php in 2.9.1:
    function image_link_input_fields($post, $url_type = '') {

    http://core.trac.wordpress.org/ticket/11148
    http://core.trac.wordpress.org/changeset/12188

    --------

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.