Merge pull request #17316 from woocommerce/fix/17300-search-orderby
Pass relevance as default orderby when searching.
This commit is contained in:
commit
3b6361b28f
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,8 @@
|
|||
<description>WooCommerce dev PHP_CodeSniffer ruleset.</description>
|
||||
|
||||
<rule ref="WordPress">
|
||||
<exclude name="WordPress.VIP.RestrictedFunctions.get_term_by_get_term_by" />
|
||||
<exclude name="WordPress.VIP.RestrictedFunctions" />
|
||||
<exclude name="WordPress.VIP.OrderByRand" />
|
||||
</rule>
|
||||
|
||||
<rule ref="WordPress.VIP.ValidatedSanitizedInput">
|
||||
|
|
Loading…
Reference in New Issue