[wp-trac] [WordPress Trac] #35908: Documentation of `pre_comment_content` declares wrong variable type information

WordPress Trac noreply at wordpress.org
Tue Feb 23 01:24:30 UTC 2016


#35908: Documentation of `pre_comment_content` declares wrong variable type
information
--------------------------+--------------------
 Reporter:  meitar        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.5
Component:  Comments      |     Version:  trunk
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+--------------------
Changes (by netweb):

 * keywords:  has-patch => needs-patch
 * milestone:  Awaiting Review => 4.5


Comment:

 @meitar Thanks for the patch, could you update it to include the two
 filters above and below `pre_comment_content`

 That is in that same `wp_filter_comment()` function both the filters
 `pre_comment_user_agent` and `pre_comment_user_ip` below should also both
 be `string`

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


More information about the wp-trac mailing list