mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix search form pagination visibility
This commit is contained in:
@@ -122,6 +122,10 @@
|
||||
global $ultimatemember;
|
||||
extract( $args );
|
||||
|
||||
|
||||
if ( isset( $args['search'] ) && $args['search'] == 1 && isset( $args['must_search'] ) && $args['must_search'] == 1 && !isset( $_REQUEST['um_search'] ) )
|
||||
return;
|
||||
|
||||
if ( um_members('total_pages') > 1 ) { // needs pagination
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user