From 1baf0ee59faa48a1febb8131ced3348ab14c2ce8 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 22 May 2007 10:25:13 +0000 Subject: Restore current blog to avoid filling up the switch stack too much git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@975 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- xmlrpc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmlrpc.php') diff --git a/xmlrpc.php b/xmlrpc.php index 1283c7c..e036190 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -598,6 +598,8 @@ class wp_xmlrpc_server extends IXR_Server { 'blogid' => $blog_id, 'blogName' => get_option('blogname') ); + + restore_current_blog(); } return array($struct); -- cgit