Skip to content

Commit

Permalink
Merge pull request #414 from Lvshujun0918/patch-2
Browse files Browse the repository at this point in the history
更正评论未审核即出现在小工具里的问题
  • Loading branch information
Licoy authored Apr 30, 2024
2 parents 71142d8 + 763864b commit 35efcd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/fun/widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ function widget( $args, $instance ){
$nums = $this->get_num_val($instance, 'nums');
$args = array(
'number' => $nums,
'status' => 'approve',
'date_query' => array(
'before' => 'tomorrow',
'inclusive' => true,
Expand Down

0 comments on commit 35efcd9

Please sign in to comment.