mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Improve the `pre_query` filters in multisite classes introduced in r44983. Return (non null) values immediately, avoiding the database queries entirely, similar to other `pre_query` filters. Props spacedmonkey, SergeyBiryukov, felipeelia. Fixes #47599. git-svn-id: https://develop.svn.wordpress.org/trunk@46100 602fd350-edb4-49c9-b593-d223f7449a82