[wp-trac] [WordPress Trac] #64155: Add stack trace to failed plugin update error notifications
WordPress Trac
noreply at wordpress.org
Sat Nov 1 01:39:46 UTC 2025
#64155: Add stack trace to failed plugin update error notifications
--------------------------+------------------------------------------------
Reporter: tlloancy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: | Version: 6.8.3
Upgrade/Install |
Severity: normal | Resolution:
Keywords: needs- | Focuses: administration, php-compatibility
testing has-patch |
--------------------------+------------------------------------------------
Comment (by knutsp):
`WP_CONTENT_DIR . '/debug.log'` is just a default path. Suggest first
checking `ini_get( 'error_log' )`, wich may return empty string, by
{{{#!php
} elseif ( file_exists( ini_get( 'error_log ) ?: WP_CONTENT_DIR .
'/debug.log' ) ) {
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64155#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list