stayallive / wp-sentry

A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.
https://wordpress.org/plugins/wp-sentry-integration/
MIT License
305 stars 48 forks source link

Allow loading the plugin in wp-config.php #106

Closed stayallive closed 2 years ago

stayallive commented 2 years ago

This allows the following code to work from the wp-config.php:

require_once ABSPATH . '/wp-content/plugins/wp-sentry-integration/wp-sentry.php';

This was coined in #103 by @ocean90.