#28739 closed defect (bug) (fixed)
r28523 __call() some functions expecting params by reference
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
Given this code:
$wp_query->parse_tax_query($wp_query->query_vars);
you will get:
Warning: Parameter 1 to WP_Query::parse_tax_query() expected to be a reference, value given
https://github.com/voceconnect/objects-to-objects is an example of where this code is used.
changing parse_tax_query()'s declaration to public fixes this.
This was introduced in r28523
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 28987: