[wp-trac] [WordPress Trac] #38514: Comment form performs a lot of unused logic when not open for comments

WordPress Trac noreply at wordpress.org
Wed Oct 26 14:47:10 UTC 2016


#38514: Comment form performs a lot of unused logic when not open for comments
-------------------------+-----------------------------
 Reporter:  jipmoors     |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.7
Component:  Comments     |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38959"]:
 {{{
 #!CommitTicketReference repository="" revision="38959"
 Comments: In `comment_form()`, bail early if comments for the post are
 closed.

 Props jipmoors.
 Fixes #38514.
 }}}

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


More information about the wp-trac mailing list