[wp-trac] [WordPress Trac] #42073: Add limit 1 to get_blog_id_from_url
WordPress Trac
noreply at wordpress.org
Wed Oct 4 16:12:55 UTC 2017
#42073: Add limit 1 to get_blog_id_from_url
--------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: jeremyfelt
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.9
Component: Networks and Sites | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch good-first-bug | Focuses: multisite
--------------------------------------+-------------------------
Comment (by jeremyfelt):
As with #42072, I'm a little wary of the change in behavior here. Less so
for `get_blog_id_from_url()`, but because we'll be removing `blog-id-
cache`, I'd rather make the transition to `get_site_by()` earlier in a
future release (5.0?).
Let's go with just the limit change for 4.9.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42073#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list