Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#25075 closed defect (bug) (wontfix)

<br/> tags should be <br /> tags including one space before forward slash

Reported by: vinod dalvi Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Validation Keywords:
Focuses: Cc:


There are a lot <br/> tags in the WordPress core which should be <br /> tags including one space before forward slash. As W3C specifies http://www.w3.org/TR/xhtml1/#C_2 , For tags that are self-closing, the forward slash should have exactly one space preceding it <br />

Change History (3)

#1 @sabreuse
8 years ago

  • Keywords 2nd-opinion removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

This feels like refactoring for the sake of refactoring to me: see http://make.wordpress.org/core/2011/03/23/code-refactoring/

We're no longer serving xhtml in the WordPress admin, having switched to HTML5 several versions back; with the work currently going on to modernize various admin components, we'll be moving further in that direction. Changes to validate against an older standard don't serve any purpose.

#2 @SergeyBiryukov
8 years ago

Related/duplicate: #20120

#3 @SergeyBiryukov
8 years ago

#20120 was marked as a duplicate.

Note: See TracTickets for help on using tickets.