Opened 11 years ago
Closed 11 years ago
#33856 closed defect (bug) (fixed)
Incomplete documentation for `get_query_var()`
| Reported by: | swissspidy | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Query | Version: | 3.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
Since WordPress 3.9, the get_query_var() function (and therefore WP_Query::get()) accepts an optional $default parameter.
This change, however, is not documented in the docblock, which just caused me some debugging pain.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 34284: