[buddypress-trac] [BuddyPress] #4908: Avoid switch_to_blog in bp_core_fetch_avatar
buddypress-trac
noreply at wordpress.org
Tue Apr 2 17:02:25 UTC 2013
#4908: Avoid switch_to_blog in bp_core_fetch_avatar
--------------------------+------------------
Reporter: wpdennis | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 1.7
Component: Core | Version: 1.7
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------
Changes (by boonebgorges):
* priority: normal => high
* version: => 1.7
* type: enhancement => defect (bug)
* milestone: Awaiting Review => 1.7
Comment:
Thanks for the report, wpdennis. Confirmed.
This is a regression for 1.7. See
http://buddypress.trac.wordpress.org/changeset/6468
It wouldn't be a huge problem, if not for the refactor of
`get_blog_option()` in WP that changed it to use `switch_to_blog()`.
Anyway, this problem is likely to cause severe performance problems on
non-root blogs, and as I said it's a regression from 1.6, so I'm going to
recommend that we take care of it in 1.7. I will write a patch in a few
moments.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4908#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list