[wp-trac] [WordPress Trac] #46928: Docs: Add missing description for global $comment param

WordPress Trac noreply at wordpress.org
Mon Apr 15 09:34:20 UTC 2019

#46928: Docs: Add missing description for global $comment param
 Reporter:  immeet94                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  docs
Changes (by mukesh27):

 * keywords:  has-patch => has-patch needs-refresh
 * focuses:  docs, coding-standards => docs


 Hi @immeet94, thanks for the patch!

 It would be good to perform global search for {{{ @global WP_Comment }}}
 and then add description for {{{ $comment }}} in DocBlocks.

 Need to add/replace description in below files.

 * wp-includes/class-wp-query.ph
 * wp-includes/comment-template.ph
 * wp-includes/comment.ph
 * wp-includes/template.php

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

More information about the wp-trac mailing list