mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Update 'ultimatemember_searchform' shortcode in Ultimate Member plugin
Refactored template, CSS and JS to fix the security vulnerability.
This commit is contained in:
@@ -58,12 +58,7 @@ class UM_Search_Widget extends \WP_Widget {
|
||||
}
|
||||
|
||||
// display the search form
|
||||
if ( version_compare( get_bloginfo('version'),'5.4', '<' ) ) {
|
||||
echo do_shortcode( '[ultimatemember_searchform /]' );
|
||||
} else {
|
||||
echo apply_shortcodes( '[ultimatemember_searchform /]' );
|
||||
}
|
||||
|
||||
echo apply_shortcodes( '[ultimatemember_searchform /]' );
|
||||
|
||||
echo $args['after_widget'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user