[wp-trac] [WordPress Trac] #34425: Add global variable description in WP_Comments_List_Table::handle_row_actions (was: add global valiavle description in 'wp-admin/includes/class-wp-comments-list-table.php')

WordPress Trac noreply at wordpress.org
Sat Oct 24 09:25:02 UTC 2015


#34425: Add global variable description in
WP_Comments_List_Table::handle_row_actions
---------------------------+------------------------------
 Reporter:  shimakyohsuke  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Comments       |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  docs
---------------------------+------------------------------

Old description:

> add global valiavle description in 'wp-admin/includes/class-wp-comments-
> list-table.php'

New description:

 add global variable description in `wp-admin/includes/class-wp-comments-
 list-table.php`

--

Comment (by swissspidy):

 Thanks for the patch!

 Just note that globals need a small description according to the
 [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#1-functions-class-methods inline
 documentation standards].

 That being said, I think the whole class could benefit from improved
 documentation.

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


More information about the wp-trac mailing list