WordPress.org

Ready to get started?Download WordPress

Forums

edit-attachment-form.php (3 posts)

  1. chtito
    Member
    Posted 8 years ago #

    Currently it is impossible to edit the attachment after they have been uploaded. I find that it is a pity since an attachment is nothing but a special post. Moreover the right line is there in the post.php file and it requires a non-existent file: edit-attachment-form.php.

    Replacing this file by edit-form-advanced.php apparently does the trick. It'd be great if some of the developers could give some advice about that. Even better, if someone has written the file edit-attachment-form.php, i'd like to have a look at it.

    Thanks!

  2. Kafkaesqui

    Posted 8 years ago #

    No idea on the reference to edit-attachment-form.php. Perhaps an overzealous developer planning for the future (well, a possible future)?

    The ability to edit attachments (i.e. uploads) from the post editor as if they're regular posts would probably be a bit confusing to many. However, it would be nice (or at least logical) to be able to edit attachment titles and descriptions through the Browse options, instead of having to delete and re-upload.

    By the by, with the "attachment slug" or rather postname of an attachment, you can use this query on your blog:

    ?attachment=name-of-attachment

    Not very useful, but interesting. :)

  3. chtito
    Member
    Posted 8 years ago #

    Interesting indeed :-)

    I don't think that it would be so confusing to edit an attachment like a post since when using the option "Linked to Page" the attachment appears exactly as a post. It has a title, a content and possibly comments. Beside, changing the code to allow to edit an attachment like a post would require very little work.

    However i agree with you that one should also be able to edit an attachment's information through the Browse options.

Topic Closed

This topic has been closed to new replies.

About this Topic