Error after updating to wordpress 6.2 with “preview” mode in custom post type

  • Unknown's avatar

    Hi,

    After updating to wordpress 6.2 from wordpress 6.1.1 the Preview mode for my custom post type stopped working.

    I have a custom post type which publishes a different type of post. Whenever I click on preview to see the custom post type preview, it adds “preview_nonce=” to the url. This causes the page to be completely blank other than the header and sidebar. When I remove the “preview_nonce=” from the url the preview works perfectly.

    I noticed that if I click preview from the list of custom posts rather than from the preview button in the custom post type, it loads perfectly fine without the preview_nonce in the url. Is this a wordpress bug?

    Thanks,
    G

  • Hello there,

    Many thanks for reaching out.

    Are you able to confirm the URL of the website that you need assistance with please?

  • The topic ‘Error after updating to wordpress 6.2 with “preview” mode in custom post type’ is closed to new replies.