Skip to content

Commit

Permalink
Apply review suggestion.
Browse files Browse the repository at this point in the history
Co-authored-by: George Mamadashvili <[email protected]>
  • Loading branch information
youknowriad and Mamaduka committed Nov 28, 2024
1 parent a839a16 commit 289a0d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function gutenberg_modify_user_query_args( $prepared_args, $request ) {
'name' => 'display_name',
);
$search_columns = array_map(
function ( $column ) use ( $search_columns_mapping ) {
static function ( $column ) use ( $search_columns_mapping ) {
return $search_columns_mapping[ $column ];
},
$search_columns
Expand Down

0 comments on commit 289a0d0

Please sign in to comment.