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 authored Nov 27, 2024
1 parent aad1b37 commit 05433a6
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 isset( $search_columns_mapping[ $column ] )
? $search_columns_mapping[ $column ]
: $column;
Expand Down

0 comments on commit 05433a6

Please sign in to comment.