[wp-trac] [WordPress Trac] #42073: Add limit 1 to get_blog_id_from_url
WordPress Trac
noreply at wordpress.org
Tue Oct 3 22:07:21 UTC 2017
#42073: Add limit 1 to get_blog_id_from_url
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: jeremyfelt
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting
Component: Networks and Sites | Review
Severity: normal | Version: 4.6
Keywords: needs-unit-tests has-patch good- | Resolution:
first-bug | Focuses: multisite
-------------------------------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => reviewing
Comment:
[attachment:42073.2.diff] uses `get_site_by()` and removes tests for
`blog-id-cache`. If we go this route, we'll be able to remove `blog-id-
cache` from a handful of other places as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42073#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list