[wp-trac] [WordPress Trac] #46069: WP_CONTENT_DIR in wp_register_fatal_error_handler
WordPress Trac
noreply at wordpress.org
Thu Mar 28 18:44:31 UTC 2019
#46069: WP_CONTENT_DIR in wp_register_fatal_error_handler
------------------------------+---------------------
Reporter: sebastian.pisula | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: General | Version: 5.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by diddledan):
The conditional check in `wp-includes/error-protection.php` will always
fail so the drop-in file will never be loaded. It checks for `defined(
'WP_CONTENT_DIR' )` which will always be false unless the site owner has
explicitly set it in `wp-config.php`. This is because the default
definition of this constant is later in the lifecycle.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46069#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list