WordPress.org

Make WordPress Core

Changeset 41738


Ignore:
Timestamp:
10/04/2017 04:25:07 PM (2 years ago)
Author:
jeremyfelt
Message:

Multisite: Only query for one site in domain_exists().

get_sites() queries for a maximum of 100 records by default. In domain_exists(), we only use one.

A previous commit, [41736], has this same commit message but applies to get_blog_id_from_url() and #42073 instead.

Props danieltj, spacedmonkey.
Fixes #42072.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.