I have quick ABSPATH question here.
In wp-load.php:
/** Define ABSPATH as this files directory */
define( 'ABSPATH', dirname(__FILE__) . '/' );
It seems to me that the value of ABSPATH is being defined with the addition of a trailing slash, '/'.
Also in wp-load.php
// Die with an error message
require_once( ABSPATH . '/wp-includes/classes.php' );
require_once( ABSPATH . '/wp-includes/functions.php' );
require_once( ABSPATH . '/wp-includes/plugin.php' );
Now since ABSPATH has been defined with a trailing slash, '/', then:
Wouldn't this code:
// Die with an error message
require_once( ABSPATH . '/wp-includes/classes.php' );
require_once( ABSPATH . '/wp-includes/functions.php' );
require_once( ABSPATH . '/wp-includes/plugin.php' );
Appear as:
// Die with an error message
require_once( '/home/xxx/public_html//wp-includes/classes.php' );
require_once( '/home/xxx/public_html//wp-includes/functions.php' );
require_once( '/home/xxx/public_html//wp-includes/plugin.php' );
Notice double slashes, '//', in the above code ... and this is just in one file, wp-load.php. What about all the other references to ABSPATH found in all the other files inside the /wp-admin/ directory?
Am I misinterpreting something in the code here?