[wp-trac] [WordPress Trac] #60323: Add missing full stop

WordPress Trac noreply at wordpress.org
Wed Jan 24 05:46:51 UTC 2024


#60323: Add missing full stop
--------------------------+-------------------------------------
 Reporter:  hardik2221    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.5
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs, coding-standards
--------------------------+-------------------------------------

Comment (by sabernhardt):

 The `WP_Network_Query` and `WP_Term_Query` classes likewise do not have a
 full stop at the end of their `parse_query` parameter documentation.

 Besides adding the periods, would it be worth including either "for
 accepted arguments" or "for information on accepted arguments"?

 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 comment-query.php?rev=57342&marks=332#L332
 WP_Comment_Query::parse_query()], which now has the period
 - [31795] added the method's documentation.
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/comment.php?rev=56747&marks=159#L159 get_approved_comments()] and
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/comment.php?rev=56747&marks=244-245#L244 get_comments()] have
 "for information on accepted arguments."

 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 network-query.php?rev=55526&marks=148#L148
 WP_Network_Query::parse_query()]
 - [37894] created the class.
 - The [https://core.trac.wordpress.org/browser/trunk/src/wp-includes
 /class-wp-network-query.php?rev=55526&marks=15#L15 WP_Network_Query class]
 has "for accepted arguments."

 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 term-query.php?rev=57046&marks=244#L244 WP_Term_Query::parse_query()]
 - [37572] added the class.
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/category-
 template.php?rev=56695&marks=306-307#L306 wp_dropdown_categories()] and
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/category-
 template.php?rev=56695&marks=497-498#L497 wp_list_categories()] have "for
 information on additional accepted arguments."
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/post.php?rev=57273&marks=3945#L3945 wp_get_post_terms()] and
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php?rev=57335&marks=2241#L2241 wp_get_object_terms()]
 have "for supported arguments."
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php?rev=57335&marks=1299-1300#L1299 get_terms()] and
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php?rev=57335&marks=1916-1917#L1916 wp_count_terms()]
 have "for information on accepted arguments."

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


More information about the wp-trac mailing list