WordPress.org

Make WordPress Core

Ticket #43907: patch.diff

File patch.diff, 950 bytes (added by saqibameen, 14 months ago)

Patch for the ticket.

  • wp-includes/js/comment-reply.js

    From 8d436618e40808bbb79fa88c2842ddf566b68741 Mon Sep 17 00:00:00 2001
    From: MrSaqibAmeen <mrsaqibameen@gmail.com>
    Date: Mon, 30 Apr 2018 19:47:43 +0500
    Subject: [PATCH] IMPROVE: WordPress JS Coding Standards
    
    ---
     wp-includes/js/comment-reply.js | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/wp-includes/js/comment-reply.js b/wp-includes/js/comment-reply.js
    index 4626e627b8..33497f0e78 100644
    a b addComment = ( function( window ) { 
    158158                 * Third party comments systems can hook into this function via the global scope,
    159159                 * therefore the click event needs to reference the global scope.
    160160                 */
    161                 follow = window.addComment.moveForm(commId, parentId, respondId, postId);
     161                follow = window.addComment.moveForm( commId, parentId, respondId, postId );
    162162                if ( false === follow ) {
    163163                        event.preventDefault();
    164164                }