Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48447, comment 6


Ignore:
Timestamp:
10/28/2019 05:42:50 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48447, comment 6

    initial v1  
    44Right. Seems it would be good to make few "readability improvements" to `latest-comments.php`. Added 48447-readability-fixes.diff as an example here, will open a low-priority issue for Gutenberg too.
    55
    6 Generally having nested function calls with each param on its own like adds a lot of "vertical bloat" and "indentation bloat" :)
     6Generally having nested function calls with each param on its own line adds a lot of "vertical bloat" and "indentation bloat" :)
    77
    88These can be avoided by making the code a bit more "wordy" but the result is quite easier to read. Also `if ()` statements usually signify a new "block" with its own indentation. Usually better to have empty lines around.