mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Add @since to wp_cache_switch_to_blog(). Props SergeyBiryukov. fixes #21434
git-svn-id: http://core.svn.wordpress.org/trunk@22086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a820d7481b
commit
9c9ecb315e
@ -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