Opened 13 years ago
Closed 13 years ago
#19891 closed defect (bug) (fixed)
get_most_recent_post_of_user() should use get_blog_prefix()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Multisite | Keywords: | close |
Focuses: | Cc: |
Description
Given the loop over multiple sites and the direct DB query against each post table, this function should probably be deprecated and killed.
That said, it currently uses {$wpdb->base_prefix}{$blog->userblog_id}
, which won't work for the main site in 3.0+ multisite. That needs to change.
Change History (5)
Note: See
TracTickets for help on using
tickets.
In [19748]: