diff --git a/wp-includes/js/comment-reply.js b/wp-includes/js/comment-reply.js index be54c350d3..723b532073 100644 --- a/wp-includes/js/comment-reply.js +++ b/wp-includes/js/comment-reply.js @@ -104,7 +104,8 @@ window.addComment = ( function( window ) { commentFormElement.submit.click(); return false; } - } + }; + commentFormElement.addEventListener( 'keydown', submitFormHandler ); var links = replyLinks( context ); @@ -321,7 +322,7 @@ window.addComment = ( function( window ) { * This is for backward compatibility with third party commenting systems * hooking into the event using older techniques. */ - cancelElement.onclick = function(){ + cancelElement.onclick = function() { return false; }; diff --git a/wp-includes/version.php b/wp-includes/version.php index 17a8d8f5af..4ba9ffe1df 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45791'; +$wp_version = '5.3-alpha-45792'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.