#28739 closed defect (bug) (fixed)
r28523 __call() some functions expecting params by reference
| Reported by: | sboisvert | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Query | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 28987: