[wp-trac] [WordPress Trac] #41999: /wp-includes/theme-compat/embed.php causes unnecessary errors in request log

WordPress Trac noreply at wordpress.org
Thu Nov 22 15:14:53 UTC 2018


#41999: /wp-includes/theme-compat/embed.php causes unnecessary errors in request
log
-------------------------+------------------------------
 Reporter:  arjenlentz   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Embeds       |     Version:  4.8.2
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:
-------------------------+------------------------------

Comment (by swissspidy):

 This is not unique to `embed.php` though. One could just as well try to
 access `wp-includes/default-filters.php` and get a similar warning. The
 only real way to prevent this is in the server settings. Turning off error
 display and direct access to PHP files can be done in both Apache and
 nginx.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41999#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list