From 43678b4c146b633575cb1534246f232971bfc585 Mon Sep 17 00:00:00 2001 From: Ajay D'Souza Date: Fri, 4 Oct 2024 15:28:53 +0100 Subject: [PATCH] Update class-posts-widget.php --- includes/frontend/widgets/class-posts-widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/frontend/widgets/class-posts-widget.php b/includes/frontend/widgets/class-posts-widget.php index 71c580f..97799a2 100644 --- a/includes/frontend/widgets/class-posts-widget.php +++ b/includes/frontend/widgets/class-posts-widget.php @@ -254,7 +254,7 @@ public function widget( $args, $instance ) { if ( ! isset( $args['widget_id'] ) ) { $args['widget_id'] = (int) $this->id; } - + if ( Display::exclude_on( $post, $args ) ) { return; }