[wp-trac] [WordPress Trac] #46842: Doc: Missing @param in inline document

WordPress Trac noreply at wordpress.org
Tue Apr 9 09:17:21 UTC 2019


#46842: Doc: Missing @param in inline document
-------------------------------------+-----------------------------------
 Reporter:  SaeedFard                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  docs, administration
-------------------------------------+-----------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 @SaeedFard In your patch you added `$args` and `$screen`, but the actual
 parameters are `$screen` and `$columns`.

 Also, patches should follow the PHP documentation standards outlined in
 https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/.

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


More information about the wp-trac mailing list