Closed illwieckz closed 4 years ago
After some investigations I discovered the code is already looking for the thumbnails_images
dictionary instead of the thumbnail
key, but it looks for the medium
thumbnail which is not guaranteed to exist. The fix is easy: always look for the full
one, which is expected to always exist.
this is probably a bug in wordpress, but we must support this way to do things.
in json produced by wordpress, current blog post has this content:
but previous blog post has this content:
As you see the
thumbnail
key is empty, but there is a thumbnail available somewhere else.This is reproducible by clicking the right arrow button to try to display this blog post.