Merge pull request #17316 from woocommerce/fix/17300-search-orderby

Pass relevance as default orderby when searching.
This commit is contained in:
Claudio Sanches 2017-10-25 20:53:49 -02:00 committed by GitHub
commit 3b6361b28f
2 changed files with 182 additions and 150 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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">