From 15080a55a5d61a2000e21cb17ce8a60207041cce Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Fri, 5 Feb 2016 16:24:45 +0800 Subject: [PATCH] Fix members grid override --- core/um-actions-members.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/um-actions-members.php b/core/um-actions-members.php index 8f369109..f092bcc5 100644 --- a/core/um-actions-members.php +++ b/core/um-actions-members.php @@ -215,11 +215,10 @@ $file = um_path . 'templates/members-grid.php'; $theme_file = get_stylesheet_directory() . '/ultimate-member/templates/members-grid.php'; - if ( file_exists( $theme_file ) ) + if ( file_exists( $theme_file ) ){ $file = $theme_file; - - if ( um_members('users_per_page') ) { - include_once $file; } + include_once $file; + } \ No newline at end of file