WordPress.org

Ready to get started?Download WordPress

Forums

Media Library Categories
Fix for Bug from 6/7/2011 11:02:46 by sean (2 posts)

  1. watchieee
    Member
    Posted 3 years ago #

    Add

    add_action('delete_post', 'mc_delete_post_relations');
    function mc_delete_post_relations($pID) {
        wp_delete_object_term_relationships($pID, 'media_category');
    }

    to the media-categories.php end. works fine for me.

    http://wordpress.org/extend/plugins/media-library-categories/

  2. merganser
    Member
    Plugin Author

    Posted 3 years ago #

    I added this to the latest release. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic