WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 16 months ago

#43659 new defect (bug)

ACF form image upload - not showing in media library after WordPress update

Reported by: jamieson2504 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.4
Component: Media Keywords:
Focuses: Cc:

Description

I have a front-end form using acf_form() function in ACF Pro. This is used to upload a post type pending review by any site visitor (not logged in).

This includes an image field. When a user uploads the form with an image, the image does not show in the WordPress Media Library.

But after messing around with the filters, eventually the image does show in the library. The only difference I see is that these images have no author - could this possibly be causing them to be filtered out?

This issue has only cropped up recently, possibly since updated WordPress to version 4.9.4. I've noticed on an old backup of my site that I ran locally that the gallery was working fine with old and new versions of ACF. But then would mess up when updating WordPress. Perhaps an update to the database or media structure?

Change History (1)

#1 @sebastien@…
16 months ago

Hello and many thanks to report us this "bug".
But it isn't a WordPress bug as it's an ACF (different from WP)
SUpport is there: https://support.advancedcustomfields.com/

it's isn't a bug, an hook exists to add theimage in the media library

Note: See TracTickets for help on using tickets.