Fix members grid override

This commit is contained in:
champsupertramp
2016-02-05 16:24:45 +08:00
parent 29e8d11f93
commit 15080a55a5
+3 -4
View File
@@ -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;
}