[wp-trac] [WordPress Trac] #55067: Use of undefined constant ABSPATH - assumed 'ABSPATH' as of WP5.9

WordPress Trac noreply at wordpress.org
Fri Feb 11 01:34:35 UTC 2022


#55067: Use of undefined constant ABSPATH - assumed 'ABSPATH' as of WP5.9
-------------------------+------------------------------
 Reporter:  maveloweb    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Security     |     Version:  5.9
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by maveloweb):

 Giving this a shot with a new .htaccess file in wp-includes, but unsure if
 anything in that folder is needed via direct access by WP core...


 {{{
 <Files *.*>
 Order Deny,Allow
 Deny from all
 </Files>
 }}}

 Will see if that causes other issues. If not, it's a simple operator
 workaround for apache :)

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


More information about the wp-trac mailing list