Get rid of WordPress.getCurrentBlog calls in Stats

Fix #1787