mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
When terms are entered into the database, term fields are sanitized with `sanitize_term_field()`. To ensure that the `SELECT ... WHERE` queries in `WP_Tax_Query::transform_query()` are not broken by overzealous sanitization, `sanitize_term_field()` should be used in that case as well. This fixes a bug where a tax_query using 'field=name' would fail if the 'terms' parameter contained characters (like spaces) that were improperly removed by `sanitize_title_for_query()`. Fixes #27810. git-svn-id: https://develop.svn.wordpress.org/trunk@31346 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| conditionals.php | ||
| date.php | ||
| dateQuery.php | ||
| isTerm.php | ||
| metaQuery.php | ||
| parseQuery.php | ||
| postStatus.php | ||
| results.php | ||
| search.php | ||
| setupPostdata.php | ||
| taxQuery.php | ||
| verboseRewriteRules.php | ||