- fixed: PHP notices and warnings

- fixed: security vulnerability with User Account page and password field
This commit is contained in:
nikitasinelnikov
2021-03-03 13:13:44 +02:00
parent 16bdc0cf9c
commit 5740bc637d
7 changed files with 34 additions and 6 deletions
@@ -146,7 +146,7 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
*/
function forumwp_fix() {
if ( function_exists( 'FMWP' ) ) {
remove_filter( 'single_template', array( FMWP()->shortcodes(), 'cpt_template' ) );
remove_filter( 'single_template', array( FMWP()->frontend()->shortcodes(), 'cpt_template' ) );
}
}