- pre-release

This commit is contained in:
nikitasinelnikov
2019-03-01 17:08:28 +02:00
parent 1fbf5b5dd6
commit c8ff9dec4a
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -226,7 +226,7 @@ if ( ! class_exists( 'um\core\Account' ) ) {
$this->init_tabs( $args );
$this->current_tab = apply_filters( 'um_change_default_tab', $this->current_tab );
$this->current_tab = apply_filters( 'um_change_default_tab', $this->current_tab, $args );
/**
* UM hook
@@ -836,4 +836,4 @@ if ( ! class_exists( 'um\core\Account' ) ) {
return $classes;
}
}
}
}
+1 -1
View File
@@ -1829,4 +1829,4 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
}
}
}
}
-2
View File
@@ -61,8 +61,6 @@ if ( ! class_exists( 'um\core\User_posts' ) ) {
$args = apply_filters( 'um_profile_query_make_posts', $args );
$posts = get_posts( $args );
//$count_posts = wp_count_posts();
//$count_posts = ! empty( $count_posts->publish ) ? $count_posts->publish : 0;
$count_posts = (int) count_user_posts( um_get_requested_user(), 'post', true );
UM()->shortcodes()->set_args = array( 'posts' => $posts, 'count_posts' => $count_posts );
+3
View File
@@ -141,6 +141,9 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
* Bugfixes:
- Fixed Edit Row settings
- Fixed save profile fields with 0 values
- Fixed upload photo base URL for Windows servers
- Fixed displaying user Posts at Profile/Posts tab
- Fixed unique filename issue, upload avatar with high case extension
= 2.0.39: February 11, 2019 =