Opened 20 years ago
Closed 20 years ago
#804 closed defect (bug) (fixed)
wp_get_single_post does not respect mode parameter
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
wp_get_single_post() in functions-post.php fails if the mode parameter is set to the default (OBJECT). The error returned is "Cannot use a scalar value as an array".
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
I was using a breadcrumb plugin (from http://technicallyincorrect.org/) which uses this function with the parameter default and fails every time.