WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49059, comment 7


Ignore:
Timestamp:
12/21/2019 06:39:01 PM (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49059, comment 7

    initial v1  
    55White space in HTML is ignored. White space in the PHP code is used for formatting and better readability. Looking at the patches here, it seems they are not 100% compatible with the coding standards?
    66
    7 Also, there are many many similar places in WP, do we convert them all to `echo '<string ...' . sprintf( .... ) . 'more strings';`? Don't think that's better readability, and if indeed it's needed, seems it will have to be added to the coding standards (the written standard, perhaps also to WPCS)?
     7Also, consistency-wise, there are many many similar places in WP, do we convert them all to `echo '<string ...' . sprintf( .... ) . 'more strings';`? Don't think that's better readability, and if indeed it's needed, seems it will have to be added to the coding standards (the written standard, perhaps also to WPCS)?