WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 2 weeks ago

#45939 reviewing defect (bug)

Coding Standards: fix <br/> in core files

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

Description

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 weeks ago.
45939.patch (9.0 KB) - added by mukesh27 4 weeks ago.
Patch.

Download all attachments as: .zip

Change History (6)

@man4toman
5 weeks ago

@mukesh27
4 weeks ago

Patch.

#1 @mukesh27
4 weeks 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
4 weeks ago

  • Keywords needs-testing added

#3 @mukesh27
3 weeks ago

#46105 was marked as a duplicate.

#4 @desrosj
2 weeks 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
Note: See TracTickets for help on using tickets.