Skip to content

Commit

Permalink
Remove useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 28, 2024
1 parent b7fb7cd commit a839a16
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ function gutenberg_modify_user_query_args( $prepared_args, $request ) {
);
$search_columns = array_map(
function ( $column ) use ( $search_columns_mapping ) {
return isset( $search_columns_mapping[ $column ] )
? $search_columns_mapping[ $column ]
: $column;
return $search_columns_mapping[ $column ];
},
$search_columns
);
Expand Down

0 comments on commit a839a16

Please sign in to comment.