[wp-trac] [WordPress Trac] #42783: set_query_var should have a helpful inline doc description

WordPress Trac noreply at wordpress.org
Sun Dec 3 19:15:22 UTC 2017


#42783: set_query_var should have a helpful inline doc description
----------------------------+-----------------------------
 Reporter:  webdevmattcrom  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  docs            |
----------------------------+-----------------------------
 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."

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42783>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list