[wp-trac] [WordPress Trac] #55882: Regarding avoid PHP start end tag
WordPress Trac
noreply at wordpress.org
Tue May 31 19:59:07 UTC 2022
#55882: Regarding avoid PHP start end tag
---------------------------+-------------------------------
Reporter: bhavinp311 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: coding-standards
---------------------------+-------------------------------
Comment (by TJNowell):
I certainly think this could be clarified better in the document itself
with some simple changes so that this confusion doesn't happen in the
future
I'd suggest making the following changes:
- change the get into got in the description
- add a space at "<?phptag" -> "<?php tag"
And changing:
> This could be true about some other file too, so please check the error
message, as it will list the specific file name where the error occurred
(see “Interpreting the Error Message” below).
to
> This can also happen in other edited PHP files that are not theme
templates, so please check the error message, as it will list the specific
file name where the error occurred (see “Interpreting the Error Message”
below).
This should clarify things better in that document.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55882#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list