WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Jetpack/Grunion conflict (403)

[Resolved] Jetpack/Grunion conflict (403)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    @specialk

    Thanks for the report. If you know the URL(s) that are blocked or not working that will help us troubleshoot and perhaps resolve the issue for the next update. Thank you.

    Been trying to figure out this jetpack conflict for some time – having the same problem. Basically when you click the icon to insert a new contact form, a thickbox appears, but it is totally blank. Console shows this 403 error:

    GET http://mysite.com/wp-admin/admin-ajax.php?post_id=4&action=grunion_form_builder& 403 (Forbidden) load-scripts.php:2
    (anonymous function) load-scripts.php:2
    v.fn.extend.domManip load-scripts.php:2
    v.fn.extend.append load-scripts.php:2
    tb_show load-scripts.php:265
    tb_click load-scripts.php:95
    v.event.dispatch load-scripts.php:2
    o.handle.u load-scripts.php:2
    Plugin Author Jeff Starr

    @specialk

    Thanks Israel, that info will help to resolve the issue in the next update.

    I faced the same problem and, as a good and nice plugin, BBQ offers a helpful filter 🙂

    The following filter only fires in admin side and when doing Ajax, which is the moment where BBQ’s union key gets confused about Jetpack’s grunion call:

    add_filter( 'query_string_items', 'b5f_filter_bbq_for_jetpack' );
    
    function b5f_filter_bbq_for_jetpack( $items )
    {
    	if( is_admin() && defined('DOING_AJAX') && DOING_AJAX )
    	{
    		$key = array_search( 'union', $items );
    		unset( $items[ $key ] );
    	}
    	return $items;
    }

    Related: Where to put my code: plugin or functions.php?

    Plugin Author Jeff Starr

    @specialk

    Awesome.. thank you for this fix, brasofilo 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Jetpack/Grunion conflict (403)’ is closed to new replies.