Adjusted paths to truncate for better order and drive–relative paths.

This commit is contained in:
Andrey Savchenko committed 2018-11-13 16:37:33 +02:00
1 parent 20b2a767f3
commit e4af00b43e
1 file changed
+2 -2
+2 -2
View File
@@ -29,8 +29,8 @@ class Backtrace_Formatter {
public function __construct() { public function __construct() {
$this->truncate_paths = [ $this->truncate_paths = [
wp_normalize_path( ABSPATH ), wp_normalize_path( realpath( WP_CONTENT_DIR ) ),
wp_normalize_path( WP_CONTENT_DIR ), wp_normalize_path( realpath( ABSPATH ) ),
'wp-admin/', 'wp-admin/',
'themes/', 'themes/',
'plugins/', 'plugins/',