WP_Query_Multisite
WP_Query_Multisite copied to clipboard
patched: WP 6.0+ broken queries
WP changed how they format and pass the $sql var to the posts_requests hook (and probably elsewhere too). Added a preg_replace line to remove multiple spaces/tabs and replace with single spaces so the str_replace functions work properly.
Addresses: https://github.com/miguelpeixe/WP_Query_Multisite/issues/7