[wp-trac] [WordPress Trac] #38357: Replace get_blog_details() usage in ms_site_check() with get_site()

WordPress Trac noreply at wordpress.org
Fri Oct 21 12:41:06 UTC 2016


#38357: Replace get_blog_details() usage in ms_site_check() with get_site()
--------------------------------+-------------------------
 Reporter:  iamfriendly         |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by flixos90):

 * keywords:  needs-patch needs-unit-tests => has-patch
 * owner:   => jeremyfelt
 * status:  new => assigned
 * milestone:  Awaiting Review => 4.7


Comment:

 [attachment:38357.diff] replaces `get_blog_details()` with `get_site()` in
 `ms_site_check()`. Regarding unit tests, after looking at the function I
 don't think we can properly test this function at this point, so I would
 skip that for now.

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


More information about the wp-trac mailing list