-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media Library empty or only missing item(s) when invoked from custom post type set featured image button #24
Comments
Asked on wordpress.stackexchange: https://wordpress.stackexchange.com/questions/418213/media-library-empty-or-only-1-item-when-invoked-from-custom-post-type-set-featur |
Workaround:
|
Mistakenly reported or changed behavior, as I now start by uploading all the images for the offer post type:
|
Todo: verify if this correlates to custom post types or rather to multiple languages which would make it a Polylang (configuration) issue. |
can't reproduce anymore? |
Possibly a bug, misfeature or misconfiguration of Polylang? Current behavior: After uploading a new image as a post thumbnail and saving the post, this very image is not available to choose as an existing image item in the media library when adding a translated post version in another language. So I have to upload the same image again. This makes me and my customers upload every image 2 times, as we have 2 languages. Possibly related existing issue: https://wordpress.org/support/topic/images-not-showing-in-one-of-the-languages/ New issue: Support: Plugin: Polylang: Media Libray images only showing in one language: |
Custom post type 'offer' is defined in a 'mu-plugin' using ACF syntax including featured image support. Theme functions also explicitly declare featured image support for this custom post type.
When invoked from main wp-admin sidebar menu, the media library shows multiple image items. But when invoked from custom post type set featured image button the library either claims that it's empty or it contains exactly 1 image, the one uploaded for this post.
After uploading a new image into a seemingly empty library invoked from a custom post, this image shows in that media library view, but also in the full list when invoked from the wp-admin sidebar menu.
This happens with or without using image optimization plugin like TinyPNG.
WordPress version: 6.3
Advanced Custom Fields version: 6.2.0
The text was updated successfully, but these errors were encountered: