diff --git a/includes/frontend/widgets/class-posts-widget.php b/includes/frontend/widgets/class-posts-widget.php index 97799a2..1dc228e 100644 --- a/includes/frontend/widgets/class-posts-widget.php +++ b/includes/frontend/widgets/class-posts-widget.php @@ -252,7 +252,7 @@ public function widget( $args, $instance ) { global $post; if ( ! isset( $args['widget_id'] ) ) { - $args['widget_id'] = (int) $this->id; + $args['widget_id'] = (string) $this->id; } if ( Display::exclude_on( $post, $args ) ) {