Changeset 38943
- Timestamp:
- 10/26/2016 03:38:48 AM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r38936 r38943 444 444 * @since 3.5.0 445 445 * 446 * @param WP_Site $blog The blog details as returned from get_blog_details()446 * @param WP_Site $blog The site object to be cleared from cache. 447 447 */ 448 448 function clean_blog_cache( $blog ) { -
trunk/src/wp-includes/ms-deprecated.php
r38902 r38943 20 20 * @since MU 21 21 * @deprecated 3.1.0 Use get_site() 22 * @see get_ blog_details()23 * 24 * @return int Current site ID.22 * @see get_site() 23 * 24 * @return WP_Site Current site object. 25 25 */ 26 26 function get_dashboard_blog() { -
trunk/src/wp-includes/ms-functions.php
r38914 r38943 1763 1763 * WordPress MS stores a blog's post count as an option so as 1764 1764 * to avoid extraneous COUNTs when a blog's details are fetched 1765 * with get_ blog_details(). This function is called when posts1766 * are publishedor unpublished to make sure the count stays current.1765 * with get_site(). This function is called when posts are published 1766 * or unpublished to make sure the count stays current. 1767 1767 * 1768 1768 * @since MU -
trunk/src/wp-includes/ms-load.php
r38904 r38943 212 212 /* 213 213 * @todo 214 * get_blog_details(),caching, etc. Consider alternative optimization routes,214 * caching, etc. Consider alternative optimization routes, 215 215 * perhaps as an opt-in for plugins, rather than using the pre_* filter. 216 216 * For example: The segments filter can expand or ignore paths. … … 244 244 245 245 if ( $site ) { 246 // @todo get_blog_details()247 246 return $site; 248 247 }
Note: See TracChangeset
for help on using the changeset viewer.