[wp-trac] [WordPress Trac] #32870: commentReply is undefined in the editor screen

WordPress Trac noreply at wordpress.org
Fri Jul 3 13:54:14 UTC 2015


#32870: commentReply is undefined in the editor screen
----------------------------------------+-------------------------
 Reporter:  Clorith                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.3
Component:  Editor                      |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  javascript
----------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch good-first-bug


Comment:

 Reproduced on Add New Post screen, `edit-comments.js` is not enqueued
 there.

 We should just check if `commentReply` is set before calling
 `commentReply.close()`.

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


More information about the wp-trac mailing list