Automattic / ElasticPress

A fast and flexible search and query engine for WordPress.
https://elasticpress.io
GNU General Public License v2.0
20 stars 7 forks source link

Set has_password default value to null for query_db #213

Closed ariskataoka closed 2 weeks ago

ariskataoka commented 3 weeks ago

Description

To maintain consistent results between health validate-counts and validate-contents, this pull request (PR) updates the 'has_password' to null in the query args, in the query_db function, which is called by the validate-counts. This modification will result in all posts being retrieved by default for the validate-counts, aligning its behavior with the validate-contents.

Checklist

Please make sure the items below have been covered before requesting a review:

Steps to Test