Skip to content

Commit b5b18d7

Browse files
committed
no need for a var here
1 parent 59d23b0 commit b5b18d7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

classes/suggested-tasks/providers/class-content-review.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,8 @@ public function filter_update_posts_args( $args ) {
433433
$this->get_snoozed_post_ids(),
434434
);
435435

436-
$dismissed_post_ids = $this->get_dismissed_post_ids();
437-
438-
if ( ! empty( $dismissed_post_ids ) ) {
439-
$args['post__not_in'] = \array_merge( $args['post__not_in'], $dismissed_post_ids );
436+
if ( ! empty( $this->get_dismissed_post_ids() ) ) {
437+
$args['post__not_in'] = \array_merge( $args['post__not_in'], $this->get_dismissed_post_ids() );
440438
}
441439

442440
if ( \function_exists( 'YoastSEO' ) ) {

0 commit comments

Comments
 (0)