#12023 closed defect (bug) (fixed)
switch_to_blog does not check if the blog really exists
Reported by: | wpmuguru | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Multisite | Keywords: | |
Focuses: | Cc: |
Description
MU Trac Ticket: http://trac.mu.wordpress.org/ticket/1162
switch_to_blog function imo should check if the blog specified exists or not, if not return FALSE instead of TRUE.
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [13047]) add option to validate on switch_to_blog, see #12023