[wp-trac] [WordPress Trac] #36901: Removing wp_die() from wp_allow_comment()

WordPress Trac noreply at wordpress.org
Thu Oct 6 17:30:46 UTC 2016


#36901: Removing wp_die() from wp_allow_comment()
-------------------------------------------------+-------------------------
 Reporter:  websupporter                         |       Owner:
     Type:  enhancement                          |  websupporter
 Priority:  normal                               |      Status:  reviewing
Component:  Comments                             |   Milestone:  4.7
 Severity:  normal                               |     Version:  4.6
 Keywords:  has-patch needs-testing has-unit-    |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by mdgl):

 I thought the idea was to effectively replace the (legacy)
 `check_comment_flood` action with the (new) `wp_is_comment_flood` filter.
 If this is the case, I wouldn't personally bother with updating the older
 action - if you want to "avoid dying", just use the new filter instead.

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


More information about the wp-trac mailing list