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

WordPress Trac noreply at wordpress.org
Tue Oct 3 17:37:48 UTC 2017


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

Comment (by flixos90):

 [attachment:40201.3.diff] makes the following changes:

 * Do not deprecate the `refresh_blog_details()` function, only the action.
 * Bail if an empty parameter is given to `clean_blog_cache()`.
 * Bail if no site could be found in `clean_blog_cache()` and the parameter
 is not numeric.

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


More information about the wp-trac mailing list