- changed version;

- code review;
This commit is contained in:
Nikita Sinelnikov
2021-07-07 14:56:36 +03:00
parent 734cc71395
commit 78c476cbb3
3 changed files with 13 additions and 5 deletions
+3 -3
View File
@@ -1058,12 +1058,12 @@ if ( ! class_exists( 'um\core\Access' ) ) {
/**
* Exclude comments from comments feed
*
* @param string $where
* @param \WP_Query $query
* @param string $where
* @param \WP_Query $query
*
* @return string
*/
function exclude_posts_comments_feed( $where, $query ){
function exclude_posts_comments_feed( $where, $query ) {
$exclude_posts = $this->exclude_posts_array( false );
if ( ! empty( $exclude_posts ) ) {
$exclude_string = implode( ',', $exclude_posts );