WordPress.org

Make WordPress Core

Opened 11 months ago

Last modified 10 months 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:
PR Number:

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

Download all attachments as: .zip

Change History (6)

@man4toman
11 months ago

@mukesh27
11 months ago

Patch.

#1 @mukesh27
11 months 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
11 months ago

  • Keywords needs-testing added

#3 @mukesh27
11 months ago

#46105 was marked as a duplicate.

#4 @desrosj
10 months 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.