Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37983 closed defect (bug) (duplicate)

Restore_current_blog

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

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
8 years ago

i wanted to put this link: http://wordpress.stackexchange.com/questions/89113/restore-current-blog-vs-switch-to-blog

(p.s. does the first post have EDIT on this trac site ?)

Last edited 8 years ago by tazotodua (previous) (diff)

#2 @swissspidy
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

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.