- fixed User Profile posts pagination;

- 2.0.29 release;
This commit is contained in:
nikitozzzzzzz
2018-10-08 23:36:05 +03:00
parent 846e9b3b5a
commit b4c2ff15dd
11 changed files with 246 additions and 149 deletions
-3
View File
@@ -272,14 +272,11 @@ if ( ! class_exists( 'um\core\Shortcodes' ) ) {
$file = um_path . "templates/{$tpl}.php";
$theme_file = get_stylesheet_directory() . "/ultimate-member/templates/{$tpl}.php";
if ( file_exists( $theme_file ) ) {
$file = $theme_file;
}
if ( file_exists( $file ) ) {
include $file;
}
}