WordPress.org

Make WordPress Core

Changeset 49160


Ignore:
Timestamp:
10/15/2020 03:24:57 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Comments: Further remove unnecessary context switch in Walker_Comment.

Follow-up to [49157].

See #51533.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-walker-comment.php

    r49157 r49160  
    346346                )
    347347            );
     348
     349            edit_comment_link( __( '(Edit)' ), '   ', '' );
    348350            ?>
    349 
    350             <?php edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' ); ?>
    351351        </div>
    352352
     
    446446                            )
    447447                        );
     448
     449                        edit_comment_link( __( 'Edit' ), ' <span class="edit-link">', '</span>' );
    448450                        ?>
    449 
    450                         <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
    451451                    </div><!-- .comment-metadata -->
    452452
Note: See TracChangeset for help on using the changeset viewer.