[wp-trac] [WordPress Trac] #27329: js errors while moderating comments

WordPress Trac noreply at wordpress.org
Sun Mar 9 10:50:18 UTC 2014


#27329: js errors while moderating comments
------------------------------+-----------------------------------------
 Reporter:  avryl             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  Comments          |     Version:  3.8.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript, administration
------------------------------+-----------------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch commit


Comment:

 The Edit Comments screen issue was introduced in [25546].

 We're calling `$.trim( e )` without first verifying that `e` is a string
 (it can also be a jQuery object).

 [attachment:27329.2.patch] fixes both issues for me.

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


More information about the wp-trac mailing list