[wp-trac] [WordPress Trac] #58058: Fix PHP open and close tag placement in /wp-admin/comment.php LineNo 175
WordPress Trac
noreply at wordpress.org
Sun Apr 2 10:55:40 UTC 2023
#58058: Fix PHP open and close tag placement in /wp-admin/comment.php LineNo 175
------------------------------+-----------------------------
Reporter: moinrrahmed | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: coding-standards |
------------------------------+-----------------------------
This PR fixes a PHP open and close tag placement issue on line 175 of the
WordPress file /wp-admin/comment.php. The original code embeds a multi-
line PHP snippet within an HTML block, but the PHP open tag is not on a
line by itself. The updated code moves the PHP open tag to a new line so
that it is on a line by itself, as required by best practices. This
improves the readability and maintainability of the WordPress core
codebase.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58058>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list