Opened 14 years ago
Closed 13 years ago
#14340 closed defect (bug) (invalid)
WP_Query::get_queried_object() does return object but not as reference
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
In the objects inner guts, references are widespreadly used, but this function which returns an object according to the docblocks description. PHP 4 compat needs return by reference here.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Ref: #14201