• Resolved zingiri

    (@zingiri)


    It seems that after activating Jetpack, WP shortcodes are processed twice. Once as part of the wp_head() execution (unexpected) and once in the loop (as expected).
    I suspect this is because of an additional do_shortcode() call in one of the Jetpack actions.
    Can this be resolved or is there a way to avoid shortcodes to be triggered inside the header?

    http://wordpress.org/extend/plugins/jetpack/

Viewing 2 replies - 31 through 32 (of 32 total)
  • Thread Starter zingiri

    (@zingiri)

    Hi Tim, we still see our Bookings plugin users facing this Jetpack issue. Disabling Jetpack fixes the issue.
    We do return data in our shortcodes and don’t echo it.
    We’re not using any of the get_the_excerpt or get_the_content or the_excerpt or the_content actions in the plugin.

    Thread Starter zingiri

    (@zingiri)

    By the way, that is with Jetpack version 2.1.2

Viewing 2 replies - 31 through 32 (of 32 total)

The topic ‘Jetpack processes shortcodes twice?’ is closed to new replies.