#42783 closed defect (bug) (fixed)
set_query_var should have a helpful inline doc description
Reported by: | webdevmattcrom | Owned by: | |
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Query | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
set_query_var() does not have any description to help developers understand the purpose and/or context of this function. Adding inline docs will also help ensure the DevHub is accurate.
See here: https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/query.php#L73
Suggested Description:
"set_query_var is a wrapper function to the global $wp_query that uses the method set."
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Patch for ticket #42783 -- adds inline doc per suggestion