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?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.