[wp-trac] [WordPress Trac] #44877: PHPDoc correction in wp-admin\includes\misc.php

WordPress Trac noreply at wordpress.org
Fri Aug 31 12:57:39 UTC 2018


#44877: PHPDoc correction in wp-admin\includes\misc.php
------------------------------+-----------------------------
 Reporter:  burhandodhy       |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Administration    |    Version:
 Severity:  minor             |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 For notice() function, the parameter type should be added first and then
 the parameter name.

 Currently
 {{{
 @param $post WP_Post The currently edited post.
 }}}

 Should be

 {{{
 @param WP_Post $post The currently edited post.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44877>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list