[wp-trac] [WordPress Trac] #58053: Fixing Multi-line PHP Snippet Embedding in wp-admin/network/user-new.php
WordPress Trac
noreply at wordpress.org
Sun Apr 2 07:05:30 UTC 2023
#58053: Fixing Multi-line PHP Snippet Embedding in wp-admin/network/user-new.php
------------------------------+-----------------------------
Reporter: faisalahammad | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.2
Severity: normal | Keywords: needs-patch
Focuses: coding-standards |
------------------------------+-----------------------------
I've noticed that the file `wp-admin/network/user-new.php` on line **103**
has a multi-line PHP snippet that violates the recommended coding standard
of WordPress. Specifically, the closing PHP tag is not on a new line,
making the code harder to read and understand.
To adhere to the WordPress coding standard and make the code easier to
maintain, I propose to fix this issue by moving the closing PHP tag to a
new line.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58053>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list