aggregator icon indicating copy to clipboard operation
aggregator copied to clipboard

Stop using switch_to_blog()

Open philipjohn opened this issue 9 years ago • 1 comments

For large/high-traffic sites, switch_to_blog() just isn't going to cut the mustard. We need Another Way.

My immediate thought is to use custom WP-API endpoints, but that relies on WP-API being adopted into core which will happen.... one day.... far in the future.... maybe.

philipjohn avatar Mar 11 '15 10:03 philipjohn

possibly time to revisit this?

wp 4.4 covers quite a bit of both multisite and rest api stuff.

I did take a quick look through all of that, and I didn't see anything that stood out as being helpful in regards to this particular issue, but it's possible that I overlooked something.

QWp6t avatar Dec 03 '15 22:12 QWp6t