[wp-hackers] Replacement for switch_to_blog()?

Bjorn Wijers burobjorn at gmail.com
Thu Sep 22 12:47:37 UTC 2011


I've used switch_to_blog() in some of my plugins and themes for custom 
Multisite sites, but I've heard it will be deprecated in the future 
(although in trunk wp-includes/ms-deprecated.php does not list it yet?).

I'm curious:

1. Is it really going to be deprecated in the future?
2. What replacement can/should I use?

Thanks in advance!


met vriendelijke groet,
Bjorn Wijers

* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship

Van maandag t/m donderdag vanaf 10:00
Vrijdag is voor experimenteren en eigen projecten.

Postbus 14145
3508 SE Utrecht
The Netherlands

tel: +31 6 49 74 78 70

More information about the wp-hackers mailing list