Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37983 closed defect (bug) (duplicate)

Restore_current_blog

Reported by: tazotodua Owned by:
Priority: normal Milestone:
Component: Networks and Sites Version:
Severity: normal Keywords:
Cc: Focuses: multisite

Description

You know, the performance issues of
restore_current_blog() while using that many times:
http://wordpress.stackexchange.com/questions/98965/get-posts-from-sites-in-multisite

please, just make available another function, i.e.
restore_current_blog()
which can be executed only once, after the final loop, and that will be good.

Change History (2)

#1 @tazotodua
10 years ago

sorry, the first post doesnt have EDIT.
i wanted to put this link: http://wordpress.stackexchange.com/questions/89113/restore-current-blog-vs-switch-to-blog

Version 1, edited 10 years ago by tazotodua (previous) (next) (diff)

#2 @swissspidy
10 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

It's certainly a valid point and one that has come up before. One possible solution was suggested in #37958 the other day, so I'm closing this one as a duplicate.

Note: See TracTickets for help on using tickets.