Skip to content

Commit

Permalink
更正评论未审核即出现在小工具里的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Lvshujun0918 committed Apr 28, 2024
1 parent 8828b70 commit 763864b
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 763864b

Please sign in to comment.