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:
@@ -462,11 +462,7 @@ function um_members( $argument ) {
|
||||
function um_get_search_form() {
|
||||
//um_deprecated_function( 'um_get_search_form', '2.1.0', 'do_shortcode( \'[ultimatemember_searchform]\' )' );
|
||||
|
||||
if ( version_compare( get_bloginfo('version'),'5.4', '<' ) ) {
|
||||
return do_shortcode( '[ultimatemember_searchform]' );
|
||||
} else {
|
||||
return apply_shortcodes( '[ultimatemember_searchform]' );
|
||||
}
|
||||
return apply_shortcodes( '[ultimatemember_searchform]' );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user