[wp-trac] [WordPress Trac] #19739: Filters to allow comments on draft & trash post_status posts

WordPress Trac noreply at wordpress.org
Mon Feb 27 00:50:41 UTC 2017


#19739: Filters to allow comments on draft & trash post_status posts
----------------------------------------+-----------------------------
 Reporter:  cyberhobo                   |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Comments                    |     Version:  3.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-testing needs-unit-tests needs-refresh => has-
     patch needs-unit-tests


Comment:

 [attachment:19739.6.diff] is a refresh since [40128], and also removes the
 final `if` statement containing the `pre_comment_on_post` hook so it
 always fires.

 Still needs tests.

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


More information about the wp-trac mailing list