[wp-trac] [WordPress Trac] #38497: Replace get_blog_details() in unit tests with get_site()

WordPress Trac noreply at wordpress.org
Tue Oct 25 23:03:16 UTC 2016


#38497: Replace get_blog_details() in unit tests with get_site()
--------------------------------+-------------------------
 Reporter:  flixos90            |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38935"]:
 {{{
 #!CommitTicketReference repository="" revision="38935"
 Multisite: Use `get_site()` in tests where `get_blog_details()` is not
 tested.

 Remaining tests either rely on the `blog-details` cache key or test
 `get_blog_details()` itself.

 Props flixos90.
 Fixes #38497.
 }}}

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


More information about the wp-trac mailing list