• Resolved paulfedorov

    (@paulfedorov)


    Looks like query for getting Zendesk Form inside the shortcode isn’t resetting itself, resulting in global $post variable being overwritten for the whole page.

    get_the_id() AFTER shortcode shows Id of the form, not it the post/page itself. This is a serious bug because it breaks all the logic in templates.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Bug: $post gets overwritten by Zendesk Form’ is closed to new replies.