[wp-trac] [WordPress Trac] #47109: Avoiding errors in theme folder
WordPress Trac
noreply at wordpress.org
Fri May 3 15:10:38 UTC 2019
#47109: Avoiding errors in theme folder
---------------------------+-----------------------------
Reporter: superpoincare | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.1.1
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
Since the bundled theme folders have an index.php file and that it doesn't
seem to handle errors, if one visits say
https://www.example.com/wp-content/themes/wp-
content/themes/twentynineteen/
assuming the site has WordPress installed, this visit will produce an
error_log file in that folder.
So some code at the beginning to prevent error_log from being generated is
needed for all themes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47109>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list