Changes between Version 1 and Version 2 of Ticket #21459, comment 4
- 08/07/12 19:57:07 (17 months ago)
v1 v2 7 7 wp-includes/ms-blogs.php: 8 8 9 * Deprecate the $validate argument to switch_to_blog(). This avoid a not very necessary call to get_blog_details()possibly saving a few queries. 9 * Deprecate the $validate argument to switch_to_blog(). This avoid possibly saving a few queries. 10 10 * Use $_wp_switched and $_wp_switched_stack instead of $switched and $switched_stack to make it less likely these globals will be stomped. 11 11 * Use GLOBALS to access blog_id and other globals. I've preferred this style lately since it makes it obvious a global is being used and avoids global blog_id being stomped by a local variable.