[wp-trac] [WordPress Trac] #45596: Argument type mismatch

WordPress Trac noreply at wordpress.org
Wed Dec 12 13:50:22 UTC 2018


#45596: Argument type mismatch
------------------------------+-----------------------------
 Reporter:  subrataemfluence  |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:  5.0
 Severity:  normal            |   Keywords:  has-patch
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 File: wp-includes/author-template-patch.php

 Doc blocks of the following functions have incorrect argument type
 declarations.


 {{{
 the_author( $deprecated = '', $deprecated_echo = true ) { ... }

 get_the_author_meta( $field = '', $user_id = false ) { ... }

 the_author_meta( $field = '', $user_id = false ) { ... }
 }}}

 Please review attached proposed patch.

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


More information about the wp-trac mailing list