Make WordPress Core

Opened 2 years ago

Last modified 13 months ago

#42783 new defect (bug)

set_query_var should have a helpful inline doc description

Reported by: webdevmattcrom Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:


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)

ticket#42783.patch (375 bytes) - added by webdevmattcrom 2 years ago.
Patch for ticket #42783 -- adds inline doc per suggestion

Download all attachments as: .zip

Change History (3)

2 years ago

Patch for ticket #42783 -- adds inline doc per suggestion

#1 @stevenlinx
2 years ago

  • Keywords has-patch added

#2 @pento
13 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.