Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42221, comment 3


Ignore:
Timestamp:
10/15/2017 05:24:33 AM (7 years ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42221, comment 3

    initial v1  
    1 The indentation of the element attributes is just for increased readability and maintainability of the PHP code that prints out the HTML. The coding standards have a one-PHP-code-block-per-line sniff. The same was done recently for the Customizer controls. So I don't think necessarily that WordPress doesn't do it, but in contrast I think it often should.
     1The indentation of the element attributes is just for increased readability and maintainability of the PHP code that prints out the HTML. ~~The coding standards have a one-PHP-code-block-per-line sniff.~~ The same was done recently for the Customizer controls. So I don't think necessarily that WordPress doesn't do it, but in contrast I think it often should.