Skip to content

Commit 658773b

Browse files
authored
Merge pull request #2 from szepeviktor/patch-1
Fix class namespace in Search
2 parents 16b720c + 484c4d2 commit 658773b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Modules/Search.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Base\Modules;
44

5+
use WP_Query;
6+
57
class Search extends Module
68
{
79
/**
@@ -49,4 +51,4 @@ public function boot(): void
4951
add_action('wp_ajax_nopriv_ajax_search', [static::class, 'ajaxSearch']);
5052
add_action('wp_ajax_ajax_search', [static::class, 'ajaxSearch']);
5153
}
52-
}
54+
}

0 commit comments

Comments
 (0)