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

WordPress Trac noreply at wordpress.org
Tue Oct 6 08:57:53 UTC 2020


#42783: set_query_var should have a helpful inline doc description
----------------------------+---------------------
 Reporter:  webdevmattcrom  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.6
Component:  General         |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"49095" 49095]:
 {{{
 #!CommitTicketReference repository="" revision="49095"
 Docs: Synchronize descriptions of some query functions and their
 counterpart methods in `WP` and `WP_Query` classes:

 * `set_query_var()`
 * `get_query_var()`
 * `get_queried_object()`
 * `get_queried_object_id()`

 Switch to third-person singular verbs, per the documentation standards.

 See #50768, #42783.
 }}}

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


More information about the wp-trac mailing list