[wp-trac] [WordPress Trac] #49059: Whitespace inside p element in wp-signup.php should be removed

WordPress Trac noreply at wordpress.org
Sun Dec 22 12:40:09 UTC 2019


#49059: Whitespace inside p element in wp-signup.php should be removed
--------------------------------+------------------------------------------
 Reporter:  henry.wright        |       Owner:  johnjamesjacoby
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  5.4
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:  close               |     Focuses:  multisite, coding-standards
--------------------------------+------------------------------------------

Comment (by henry.wright):

 > I've looked at quite a few of these tickets and pretty much all I've
 seen seem to miss the PHP side of things. They usually only talk about
 "prettifying" HTML output but don't consider source code readability.

 That isn’t the case with this ticket :)

 Conscious use of whitespace in the PHP part of the source file for
 improved readability is fantastic but this ticket isn’t about that.
 Instead it refers to the use of whitespace not inside the PHP tags. This
 results in unintended whitespace output and that is what should be
 avoided. I think the approach used in the patch is a nice improvement.

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


More information about the wp-trac mailing list