[wp-trac] [WordPress Trac] #52871: Space added after the "option" tag on the options-writing.php file

WordPress Trac noreply at wordpress.org
Sat Mar 20 14:59:11 UTC 2021


#52871: Space added after the "option" tag on the options-writing.php file
------------------------------+-------------------------------
 Reporter:  Laxman Prajapati  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Administration    |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by knutsp):

 * version:  5.7 =>


Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52871#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list