[wp-trac] [WordPress Trac] #49206: Update `wp_allow_comment()` and `pre_comment_approved` docs with possible `trash` return value

WordPress Trac noreply at wordpress.org
Thu Feb 13 17:49:03 UTC 2020


#49206: Update `wp_allow_comment()` and `pre_comment_approved` docs with possible
`trash` return value
--------------------------------------+-----------------------------
 Reporter:  jeremyfelt                |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.4
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47286" 47286]:
 {{{
 #!CommitTicketReference repository="" revision="47286"
 Docs: Update `@return` tag for `wp_allow_comment()` with `trash` as a
 possible return value.

 Props oakesjosh, jeremyfelt.
 Fixes #49206.
 }}}

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


More information about the wp-trac mailing list