Open bassjobsen opened 10 years ago
BBPress adds some jQuery dependent javascript to the header which breaks the defer loading (cause a javascript error). Javascript will be insert by setup_actions in bbpress/templates/default/bbpress-functions.php
add_action( 'bbp_head', array( $this, 'head_scripts' ) );
I don't know how to remove this action for now. I tried:
global $BBP_Default; remove_action( 'bbp_head', array( $BBP_Default, 'head_scripts' ) );
see also: see also: http://bbpress.trac.wordpress.org/ticket/2454
BBPress adds some jQuery dependent javascript to the header which breaks the defer loading (cause a javascript error). Javascript will be insert by setup_actions in bbpress/templates/default/bbpress-functions.php
add_action( 'bbp_head', array( $this, 'head_scripts' ) );
I don't know how to remove this action for now. I tried:
global $BBP_Default; remove_action( 'bbp_head', array( $BBP_Default, 'head_scripts' ) );