Add @since to wp_cache_switch_to_blog(). Props SergeyBiryukov. fixes #21434
git-svn-id: https://develop.svn.wordpress.org/trunk@22086 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
43e28ec704
commit
6248f81649
@ -184,6 +184,8 @@ function wp_cache_set($key, $data, $group = '', $expire = 0) {
|
||||
*
|
||||
* This changes the blog id used to create keys in blog specific groups.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param int $blog_id Blog ID
|
||||
*/
|
||||
function wp_cache_switch_to_blog( $blog_id ) {
|
||||
@ -588,6 +590,8 @@ class WP_Object_Cache {
|
||||
*
|
||||
* This changes the blog id used to create keys in blog specific groups.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*
|
||||
* @param int $blog_id Blog ID
|
||||
*/
|
||||
function switch_to_blog( $blog_id ) {
|
||||
|
Loading…
Reference in New Issue
Block a user