[wp-trac] [WordPress Trac] #42072: Add limit 1 to domain_exists
WordPress Trac
noreply at wordpress.org
Tue Oct 3 12:25:04 UTC 2017
#42072: Add limit 1 to domain_exists
--------------------------------+-----------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.6
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
`domain_exists` uses to `get_sites` to looks if site exists. But it only
uses the first result. The param limit should be added to get_sites,
limiting the query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42072>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list