Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#45939 reviewing defect (bug)

Coding Standards: fix <br/> in core files

Reported by: man4toman's profile man4toman Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch needs-testing
Focuses: coding-standards Cc:


In order to self-closing-elements, a single space should precede the self-closing slash.

I created this patch for version 5.0.3, but this version isn't on ticket version selector.

Attachments (2)

br-fix.patch (1.7 KB) - added by man4toman 5 years ago.
45939.patch (9.0 KB) - added by mukesh27 5 years ago.

Download all attachments as: .zip

Change History (7)

5 years ago

5 years ago


#1 @mukesh27
5 years ago

@man4toman, I audited all <br/> occurrences in the following files:

  • src/wp-admin/custom-background.php
  • src/wp-admin/edit-comments.php
  • src/wp-admin/includes/class-wp-filesystem-base.php
  • src/wp-admin/includes/class-wp-ms-users-list-table.php
  • src/wp-admin/includes/class-wp-plugins-list-table.php
  • src/wp-admin/install.php
  • src/wp-admin/network/settings.php
  • src/wp-admin/network/site-info.php
  • src/wp-admin/options-reading.php
  • src/wp-includes/widgets/class-wp-widget-archives.php

#2 @nielslange
5 years ago

  • Keywords needs-testing added

#3 @mukesh27
5 years ago

#46105 was marked as a duplicate.

#4 @desrosj
5 years ago

  • Component changed from Administration to General
  • Milestone changed from Awaiting Review to Future Release
  • Owner set to desrosj
  • Status changed from new to reviewing
  • Version 5.0.2 deleted

#5 @desrosj
4 years ago

  • Owner desrosj deleted
Note: See TracTickets for help on using tickets.