Adjusted paths to truncate for better order and drive–relative paths.
This commit is contained in:
1 parent
20b2a767f3
commit
e4af00b43e
1 file changed
+2
-2
@@ -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/',
|
||||||
|
|||||||
Reference in new issue
Block a user