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

WordPress Trac noreply at wordpress.org
Tue Apr 4 18:01:09 UTC 2017


#40201: Use get_site in clean_blog_cache
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Networks and Sites                   |  Review
 Severity:  normal                               |     Version:
 Keywords:  needs-unit-tests 2nd-opinion has-    |  Resolution:
  patch                                          |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 This seems sound.

 `if( is_object( $blog )` needs a whitespace fix before it's 100% ready for
 core.

 Should be: `if ( is_object( $blog )`

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


More information about the wp-trac mailing list