【发布时间】:2019-09-18 18:19:20
【问题描述】:
我最近检查了许多 wp 站点,它们允许从包含文件夹中访问该文件,并且在上面显示错误消息
路径是
wp-includes/customize/class-wp-customize-background-position-control.php
错误信息
Fatal error: Class 'WP_Customize_Control' not found in /home4/pcc/public_html/project/autosite/wp-includes/customize/class-wp-customize-background-position-control.php on line 1
理想情况下它不应该直接访问
我在我的 htaccess 中使用过这个,但仍然是同样的错误
Options All -Indexes
- 他们也在谷歌中爬行。
【问题讨论】:
标签: wordpress .htaccess directory fatal-error