[wp-trac] [WordPress Trac] #42073: Add limit 1 to get_blog_id_from_url

WordPress Trac noreply at wordpress.org
Tue Oct 3 12:48:18 UTC 2017


#42073: Add limit 1 to get_blog_id_from_url
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 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 danieltj):

 * keywords:  needs-patch good-first-bug needs-unit-tests => needs-unit-
     tests has-patch good-first-bug


Comment:

 In 42073.diff, limits the query to get the first result from
 `get_sites()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42073#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list