[wp-trac] [WordPress Trac] #33304: Documentation of 'wp_get_current_commenter' filter is wrong

WordPress Trac noreply at wordpress.org
Fri Aug 7 17:07:37 UTC 2015


#33304: Documentation of 'wp_get_current_commenter' filter is wrong
--------------------------+-----------------------------
 Reporter:  dimadin       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 Documentation for this filter wrongly says that there are three parameters
 while there is only one, an array with them.

 I used documentation for `wp_insert_comment()` as a base in my patch.

 Introduced in [26491].

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


More information about the wp-trac mailing list