Make WordPress Core

Opened 5 years ago

Closed 3 months ago

#43659 closed defect (bug) (invalid)

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

Reported by: jamieson2504's profile jamieson2504 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.4
Component: Media Keywords:
Focuses: Cc:


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 (2)

#1 @sebastien@…
5 years 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:

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

#2 @joedolson
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Based on a support thread on ACF: [acf_form image upload not showing in gallery], that looks like it may also be your support thread, I'm going to say that this is an ACF problem, and that it's solved on their end. If there are any further issues here for core, don't hesitate to reopen.

Note: See TracTickets for help on using tickets.