Home Forums Backend Issues (wp-admin) Media disappears when saving a post Reply To: Media disappears when saving a post

  • I would comment out line 90 of the post type switcher plugin

    add_filter( 'wp_insert_attachment_data', array( $this, 'override_type' ), 10, 2 );

    I don’t see any reason why anyone would want to change the post type of attachments.

    Honestly, the plugin has not been updated in over a year, not even to update the tested up to value, and from the looks of the support forum it is not getting any. I wouldn’t use this plugin at all. If you really need this then I’d deactivate this plugin and only activate it when needed. How often do post types need to be switched?