mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
Merge remote-tracking branch 'remotes/origin/fix/xss_security'
This commit is contained in:
@@ -150,6 +150,16 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fixed ForumWP access to Forums message
|
||||
*/
|
||||
function forumwp_fix() {
|
||||
if ( function_exists( 'FMWP' ) ) {
|
||||
remove_filter( 'single_template', array( FMWP()->shortcodes(), 'cpt_template' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $profile_url
|
||||
* @param $page_id
|
||||
|
||||
Reference in New Issue
Block a user