Opened 17 years ago
Closed 17 years ago
#8255 closed defect (bug) (fixed)
WPCOMism in xmllrpc.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | XML-RPC | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (7)
#2
@
17 years ago
- Component changed from General to XML-RPC
- Owner changed from anonymous to josephscott
#4
@
17 years ago
get_blogs_of_user() doesn't exist for WP. Nor do the switch and restore functions.
Note: See
TracTickets for help on using
tickets.
Those functions don't exist in WP.