Opened 3 years ago
Closed 3 years ago
#15181 closed defect (bug) (worksforme)
Main blog in multisite wp 3.0 reading from wrong table
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Multisite | Version: | |
| Severity: | critical | Keywords: | reporter-feedback |
| Cc: |
Description
The main blog editor will load content from a subblog if a post or page with the same id as a post in the main blog exists in a subblog.
The call to get_post_to_edit() in wp-admin/post.php doesn't return the correct post.
A quick fix resolved the problem:
431 in post.php -> $post = get_blog_post($wpdb->blogid, $id, OBJECT, 'edit' );
Change History (2)
Note: See
TracTickets for help on using
tickets.

Have you tried reproducing this with no plugins enabled?
I can't reproduce it