[wp-trac] [WordPress Trac] #20665: wp.getUsersBlogs method runs out of memory when there are too many blogs

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 11:49:05 UTC 2012


#20665: wp.getUsersBlogs method runs out of memory when there are too many blogs
-----------------------------------------------+---------------------
 Reporter:  mohanjith                          |       Owner:  nacin
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  3.5
Component:  XML-RPC                            |     Version:  3.0
 Severity:  normal                             |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests commit  |
-----------------------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21194]:
 {{{
 #!CommitTicketReference repository="" revision="21194"
 Don't use switch_to_blog() in wp.getUsersBlogs to improve performance and
 memory footprint. props mohanjith for initial patch. fixes #20665.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20665#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list