Skip to content

Commit

Permalink
Adds entries without is_approved meta to the list of unapproved
Browse files Browse the repository at this point in the history
  • Loading branch information
omarkasem committed Dec 30, 2024
1 parent d00ac12 commit 901ff07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions includes/class-admin-approve-entries.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,15 @@ public function filter_links_entry_list( $filter_links = array(), $form = array(
);

$field_filters_unapproved = array(
'mode' => 'any',
array(
'key' => GravityView_Entry_Approval::meta_key,
'value' => GravityView_Entry_Approval_Status::UNAPPROVED,
),
array(
'key' => GravityView_Entry_Approval::meta_key,
'value' => '',
),
);

$approved_count = $disapproved_count = $unapproved_count = 0;
Expand Down

0 comments on commit 901ff07

Please sign in to comment.