WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#52871 new defect (bug)

Space added after the "option" tag on the options-writing.php file

Reported by: Laxman Prajapati Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: coding-standards Cc:

Description

Space added after the "option" tag on the options-writing.php file as a standard workflow.

Attachments (1)

52871.patch (868 bytes) - added by Laxman Prajapati 5 months ago.
Created patch.

Download all attachments as: .zip

Change History (4)

@Laxman Prajapati
5 months ago

Created patch.

#1 @Laxman Prajapati
5 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
5 months ago

  • Component changed from Customize to Administration

#3 @knutsp
5 months ago

  • Version 5.7 deleted

The selected() function returns the attribute with a preceding space, so this will just result in a double space, both with and without the attribute.

Note: See TracTickets for help on using tickets.