Opened 4 years ago
Last modified 4 years ago
#45948 new defect (bug)
WSOD protection message formatted incorrectly on windows
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bootstrap/Load | Keywords: | |
Focuses: | Cc: |
Description
When the WSOD protection in 5.1 beta1 pauses a plugin on a windows host, the message that displays in wp-admin/plugins.php
the file path where the error occurred doesn't display properly (the path separator has been stripped). See the attached screenshot.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
There are probably a few places this could be fixed, in the few minutes I've looked through this new code I think easiest would be in
wp_record_extension_error()
.That function already calls
wp_normalize_path( $error['file'] )
. I think it should actually set$error['file']
to the return value of that call towp_normalize_path()
...but I'll leave to those who know this new code better than I to decide (unless folks want me to do a patch for that fix).