[wp-trac] [WordPress Trac] #59561: Short Description is missing in code comment

WordPress Trac noreply at wordpress.org
Wed Oct 25 21:44:20 UTC 2023


#59561: Short Description is missing in code comment
-------------------------+-------------------------------------
 Reporter:  1naveengiri  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  6.3.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  docs, coding-standards
-------------------------+-------------------------------------
Changes (by sabernhardt):

 * type:  defect (bug) => enhancement


Comment:

 All of the linked examples include both the `$post_type` and
 `$post_type_object` global variables.

 I'm switching the type to enhancement because
 [https://developer.wordpress.org/coding-standards/inline-documentation-
 standards/php/#1-functions-class-methods PHP Coding standards] note that
 the description is optional.

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


More information about the wp-trac mailing list