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

WordPress Trac noreply at wordpress.org
Tue Oct 4 01:19:25 UTC 2016


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

Comment (by rachelbaker):

 @websupporter
 In testing your [attachment:36901.3.diff] because the `check_comment`
 action was still running `check_comment_flood_db` the
 `wp_check_comment_flood()` function was running twice.  I removed the
 action hook in [attachment:36901.4.diff] and included some minor doc fixes
 as well.

 Can you give the latest patch a sanity check to make sure I didn't miss
 anything?

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


More information about the wp-trac mailing list