mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
`WP_Query` discards most non-array date values ('year', 'monthnum', etc) by
casting to integer. Since [25138], the 'm' parameter has been handled
as a string; see #24884. However, the string-handling introduced in [25138]
blindly attempted to handle arrays and other non-scalar types as strings,
resulting in PHP notices and invalid MySQL syntax.
Props vortfu.
Fixes #36718.
git-svn-id: https://develop.svn.wordpress.org/trunk@37324 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 | ||
| stickies.php | ||
| taxQuery.php | ||
| vars.php | ||
| verboseRewriteRules.php | ||