mirror of
git://develop.git.wordpress.org/
synced 2025-02-12 10:50:25 +01:00
Jeremy Felt
229e0d5300
Multisite: Simplify logic assigning
orderby
in get_site_by_path()
.
Before [37628], there were 3 separate conditions for ordering by domain and/or path in `get_site_by_path()` that each resulted in it's own query. Now that `get_sites()` is used and supports `WP_Site_Query`, this can be simplified. Props spacedmonkey. Fixes #37215. git-svn-id: https://develop.svn.wordpress.org/trunk@37930 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%