[wp-trac] [WordPress Trac] #52871: Space added after the "option" tag on the options-writing.php file
WordPress Trac
noreply at wordpress.org
Mon May 29 15:44:27 UTC 2023
#52871: Space added after the "option" tag on the options-writing.php file
-----------------------------------------+-------------------------------
Reporter: Laxman Prajapati | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch close 2nd-opinion | Focuses: coding-standards
-----------------------------------------+-------------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch => has-patch close 2nd-opinion
* type: defect (bug) => enhancement
Comment:
Ho there, thanks for the ticket!
As noted in comment:3, the `selected()` function includes a preceding
space, so there is no bug here.
There are a few other instances of `<option<?php selected( ... ); ?> ...
>` in core, so there does not seem to be a need to change this particular
instance.
That said, it could be considered a minor readability improvement, so I'm
curious to see what others think.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52871#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list