[wp-trac] [WordPress Trac] #37118: Move call of get_blog_details() inside of ms_site_check()

WordPress Trac noreply at wordpress.org
Wed Jun 22 21:33:23 UTC 2016


#37118: Move call of get_blog_details() inside of ms_site_check()
------------------------------+-------------------------
 Reporter:  danielbachhuber   |       Owner:  jeremyfelt
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.6
Component:  Bootstrap/Load    |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  multisite
------------------------------+-------------------------
Changes (by jeremyfelt):

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


Comment:

 In [changeset:"37850"]:
 {{{
 #!CommitTicketReference repository="" revision="37850"
 Multisite: Move call of `get_blog_details()` inside `ms_site_check()`.

 This allows the `ms_site_check` filter or `is_super_admin()` check to
 return `true` before `get_blog_details()` is used.

 Props danielbachhuber.
 Fixes #37118.
 }}}

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


More information about the wp-trac mailing list