[wp-trac] [WordPress Trac] #40201: Use get_site in clean_blog_cache

WordPress Trac noreply at wordpress.org
Tue Oct 3 18:40:34 UTC 2017


#40201: Use get_site in clean_blog_cache
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  flixos90
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.9
Component:  Networks and Sites                   |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback needs-unit-   |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"41716"]:
 {{{
 #!CommitTicketReference repository="" revision="41716"
 Multisite: Establish `clean_blog_cache()` as a replacement for
 `refresh_blog_details()`.

 Going forward, `clean_blog_cache()` is recommended to be used instead of
 `refresh_blog_details()`. It has been adjusted to match the functionality
 of the latter, with the exception that it always requires a site ID or
 object to be passed. The `refresh_blog_details` action has been deprecated
 in favor of the `clean_site_cache` action. The function itself is not
 formally deprecated at this point, but will likely be in the near future.

 Props spacedmonkey.
 Fixes #40201.
 }}}

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


More information about the wp-trac mailing list