mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 22:27:04 +00:00
ac9e991dc872c3a1aae6c8e4f6b1084c90ca526d
WP_Comment_Query.
The refactor of `WP_Comment_Query`'s SQL generation in [34542] introduced a bug that caused only the last post-related filter to be respected in comment queries. In other words, if querying for comments using params `post_status=draft&post_author=3`, only the last-processed of these params would be respected. The current changeset fixes the logic so that these clauses don't overwrite each other. Props chriscct7. Fixes #35478. git-svn-id: https://develop.svn.wordpress.org/trunk@36326 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
243 MiB
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%