[wp-trac] [WordPress Trac] #41180: ABSPATH definition - incorrect on chrooted vhost
WordPress Trac
noreply at wordpress.org
Fri Oct 11 15:06:18 UTC 2024
#41180: ABSPATH definition - incorrect on chrooted vhost
-------------------------------------------------+-------------------------
Reporter: dacartpl | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bootstrap/Load | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs- | Focuses:
refresh | performance
-------------------------------------------------+-------------------------
Comment (by _smartik_):
It can be simplified to this:
{{{#!php
<?php
define( 'ABSPATH', rtrim( __DIR__, '/' ) . '/' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41180#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list