WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#51533 closed defect (bug) (fixed)

Remove the additional space in the comment date link

Reported by: poena Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch
Focuses: Cc:

Description

In class-walker-comment.php on line 436, in the comment metadata for the comment date, there is a space between </time> and </a> that is causing an extra space at the end of the link.

https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-walker-comment.php#L436

Attachments (2)

comment-date.png (15.2 KB) - added by poena 11 months ago.
The extra space is visible at the end of the link
51533.patch (1.2 KB) - added by mukesh27 11 months ago.
Patch that fixed the issue

Download all attachments as: .zip

Change History (9)

@poena
11 months ago

The extra space is visible at the end of the link

#1 @SergeyBiryukov
11 months ago

  • Milestone changed from Awaiting Review to 5.6

@mukesh27
11 months ago

Patch that fixed the issue

#2 @mukesh27
11 months ago

  • Keywords has-patch added

#3 @SergeyBiryukov
11 months ago

  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#4 @SergeyBiryukov
11 months ago

In 49157:

Comments: Remove extra space from the comment link in Walker_Comment.

Props poena, mukesh27, SergeyBiryukov.
See #51533.

#5 @SergeyBiryukov
11 months ago

In 49158:

Twenty Twenty: Remove extra space from the comment link in TwentyTwenty_Walker_Comment.

See #51533.

#6 @SergeyBiryukov
11 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 49159:

Twenty Nineteen: Remove extra space from the comment link in TwentyNineteen_Walker_Comment.

Fixes #51533.

#7 @SergeyBiryukov
11 months ago

In 49160:

Comments: Further remove unnecessary context switch in Walker_Comment.

Follow-up to [49157].

See #51533.

Note: See TracTickets for help on using tickets.