WP_Query_Multisite icon indicating copy to clipboard operation
WP_Query_Multisite copied to clipboard

patched: WP 6.0+ broken queries

Open codejp3 opened this issue 2 years ago • 1 comments

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.

codejp3 avatar Nov 15 '22 02:11 codejp3

Addresses: https://github.com/miguelpeixe/WP_Query_Multisite/issues/7

codejp3 avatar Nov 15 '22 04:11 codejp3