Support » Plugin: Post Type Switcher » Media disappears when saving a post

  • Resolved AP_B1


    I think i found a bug. A client was doing these steps and i was able to reproduce it.

    – she logged in and pressed edit at a post that i made (so she’s editing it as a different user than the user that created it)
    – opened the ‘media’ page in a new tab
    – uploaded 5 images
    – went back to the other tab, added the images to an ACF (Advanced Custom Fields) repeater field
    – pressed update

    Then all images vanished, and also from the media library. When i opened a page where i can add an ACF page link, all these images where listed as pages / inherit. So i think ‘Post type switcher’ changes the status/type of the attachment.
    It must have to do with ‘Post type switcher’ because i repeated these steps again and again with a backup of the database, and when i disabled ‘Post type switcher’ the problem disappeared.

    A screencast showing it:

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Media disappears when saving a post’ is closed to new replies.