Opened 9 years ago
Closed 9 years ago
#33856 closed defect (bug) (fixed)
Incomplete documentation for `get_query_var()`
Reported by: | swissspidy | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Query | Keywords: | has-patch |
Focuses: | docs | Cc: |
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.
In 34284: