Opened 17 years ago
Closed 17 years ago
#5019 closed defect (bug) (fixed)
get_next_post() and get_previous_post() are too trusting
Reported by: | mdawaffe | Owned by: | mdawaffe |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | General | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Both should bail out if there's no current global $post variable to reference.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Looks good.