[wp-trac] [WordPress Trac] #38175: Use `get_sites()` instead of a database lookup in `get_id_from_blogname()`

WordPress Trac noreply at wordpress.org
Tue Sep 27 18:06:34 UTC 2016


#38175: Use `get_sites()` instead of a database lookup in `get_id_from_blogname()`
--------------------------------+-------------------------
 Reporter:  jeremyfelt          |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  accepted
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => accepted


Comment:

 [attachment:38175.diff] is a carry over of @flixos90's changes from
 #34450. It also removes tests for the `get_id_from_blogname` cache key,
 specifically one from #20950. The functionality of
 `get_id_from_blogname()` is now covered in the tests added via #34450.

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


More information about the wp-trac mailing list