• I can’t really figure out why, but there is a problem in the function:
    get_preview_postmeta line 127

    I do use a custom theme with the function get_post_meta() in my single.php to retrieve the saved values. When I look at the page in preview mode, i sometimes can’t see any post_meta data, sometimes i see outdated post_meta data, sometimes only the post thumbnail is missing (stored in post_meta with key _thumbnail_id).

    Everything is alright if:

    • i publish the post
    • i deactivate the function get_preview_postmeta from your plugin
    • it even works if i use the preview-button in upper right corner, where the url has all these parameters: ?p=3398&preview_id=3443&preview_nonce=fb39e854cd&_thumbnail_id=3404&preview=true – all other preview buttons don’t have theses parameters and will fail

    Does this help you to understand the bug?

The topic ‘Preview doesn’t show current data’ is closed to new replies.