- fixed bbPress restrict content message on forums;

- fixed issues with permalinks (issue #375);
- fixed replacing placeholders in [show_content_for_role] shortcode;
This commit is contained in:
nikitozzzzzzz
2018-02-18 13:27:46 +02:00
parent 440aa59b28
commit cbf06f5835
14 changed files with 170 additions and 269 deletions
@@ -20,7 +20,15 @@ if ( ! class_exists( 'External_Integrations' ) ) {
add_filter( 'um_email_templates_columns', array( &$this , 'add_email_templates_wpml_column' ), 10, 1 );
add_action( 'um_access_fix_external_post_content', array( &$this , 'bbpress_no_access_message_fix' ), 10 );
}
/**
* Fixed bbPress access to Forums message
*/
function bbpress_no_access_message_fix() {
remove_filter( 'template_include', 'bbp_template_include' );
}