Opened 13 years ago
Closed 13 years ago
#20665 closed defect (bug) (fixed)
wp.getUsersBlogs method runs out of memory when there are too many blogs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | XML-RPC | Keywords: | has-patch needs-unit-tests commit |
Focuses: | Cc: |
Description
wp.getUsersBlogs method runs out of memory when there are too many blogs. But with the proposed changes (by avoiding switch_to_blog and restore_current_blog) you can list more blogs with same amount of memory.
Attachments (2)
Change History (10)
#6
@
13 years ago
- Keywords needs-unit-tests commit added
20665.diff includes get_home_url() and some cleanup.
Note: See
TracTickets for help on using
tickets.
Yeah, the switch_to_blog() really doesn't make any sense here.