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

WordPress Trac noreply at wordpress.org
Tue Feb 23 00:42:41 UTC 2016


#35908: Documentation of `pre_comment_content` declares wrong variable type
information
--------------------------+-----------------------------
 Reporter:  meitar        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  minor         |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 Super simple, but I just noticed that the documentation for the
 `pre_comment_content` filter says the filter returns an `int` when in fact
 it returns a `string`.

 Trivial patch attached.

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


More information about the wp-trac mailing list