dev: fix wca test helper option search wildcards (#41503)
fix wca test helper option search wildcards
This commit is contained in:
parent
7d465c406a
commit
a32e1a3922
|
@ -80,6 +80,7 @@ function wca_test_helper_get_options( $request ) {
|
|||
|
||||
if ( $search ) {
|
||||
$search = $wpdb->esc_like( $search );
|
||||
$search = "%{$search}%";
|
||||
$query .= ' WHERE option_name LIKE %s';
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: add
|
||||
|
||||
Fix option search that accidentally had its wildcards removed
|
Loading…
Reference in New Issue