[wp-trac] [WordPress Trac] #8255: WPCOMism in xmllrpc.php

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 17 13:00:56 GMT 2008

#8255: WPCOMism in xmllrpc.php
 Reporter:  donncha  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.7      
 Severity:  normal   |    Keywords:           
 The check for site_id on line 432 of xmlrpc.php is a piece of legacy code
 from WordPress.com and has been taken out in WordPress MU.

 That foreach() loop is also missing a restore_current_blog() call, the
 complement of switch_to_blog(). It should be added immediately after the
 definition of $is_admin.

Ticket URL: <http://trac.wordpress.org/ticket/8255>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list