WordPress.org

Ready to get started?Download WordPress

Ideas

Unattaching

  1. jimisaacs
    Member

    12345

    A friend of mine has already made a complete implementation of this using the code from the 3.0 trunk. Sorry, I can't remember what revision exactly at the moment.

    I am pretty sure he was trying to get it into 3.0 before the code freeze but missed it, now I'm not sure what he's doing with it. He might just be sitting on it but I can find out.

    His implementation was EXACTLY what I was talking about, the link name he used is simply "Detach", which also works in conjunction with "Attach". He made this functionality work across the board, in all Media Library pages, and the post attachment popup. All the listing tables show a "Detach" link where appropriate, so think where it says "Attach" on the "Unattached" listing, this would be replaced by the latter. He even has it on the attachment detail settings as a checkbox, of course this checkbox only appears for things that actually have a valid post_parent.

    For the media library, he has implemented this through ajax. On the edit screen popup, it is a simple page refresh.

    Along with this patch, he has also tackled the "Attach to" popup in the media library to actually list valid registered post types dynamically rather than using the "post" and "page" types statically. He also allowed the results of all entries of the selected post_type when nothing is within the search field rather than nothing.

    Anyway, I would be happy to see what is going on with this, and information from someone in the core team about what I can tell him. Like if there is any chance this patch could make it in sometime

    If anyone would like some sort of a screenshot, demo, or just more information in general let me know and I will relay it to him, and see if he can just try and it in there himself.

    Don't mean to be the "go between", but hey, sometimes you have to ;)

    Jim

    Posted: 4 years ago #
  2. jimisaacs
    Member

    12345

    Are my words that poisonous that every time I seem to post anything in this site it stops all forms of discussion in it's tracks?

    Posted: 4 years ago #
  3. scribu
    Member

    12345

    I think now would be a good time to move this to a ticket on trac (if there isn't one already).

    Posted: 4 years ago #
  4. macmiller
    Member

    This is a really good idea. I just spent a while searching for the issue that there is no 'unattach' function and ended up here. Thanks for doing the work on how an un-attach function would work..... excellent!! My vote to include on a future release.

    Posted: 4 years ago #
  5. elgranerito
    Member

    +1 great idea

    Posted: 3 years ago #
  6. tamlyn
    Member

    While we wait for support in core, this plugin allows unattaching media from the media library page http://wordpress.org/extend/plugins/unattach/

    Posted: 3 years ago #
  7. Tom Auger
    Member

    +1. I don't understand why this feature was omitted. I will be putting in an official feature request.

    Posted: 3 years ago #
  8. Tom Auger
    Member

    No need - I see that Jim has already posted a request in Trac.

    Posted: 3 years ago #
  9. Aternus
    Member

    I'm amazed that this feature haven't been implemented yet... especially considering that its been over a year since the original discussion and the implementation itself is far from being complicated...

    Posted: 3 years ago #
  10. WraithKenny
    Member

    Media enhancements keep getting bumped to the next version and on and on... But that's why this isn't done yet. Also, there's still no patch on the ticket. Media needs much more work, so a full version focused on it would really be great. Perhaps a solution where media that isn't photos would get full citizenship (as it were) or that Galleries, Attached Images, and Featured Images could be treated separately and easily. So many things to do...

    Posted: 3 years ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    35 Votes
  • Status

    This idea has been implemented