stayallive / wp-sentry

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

Add UI to use options for storing the SDK's #64

Closed stayallive closed 2 years ago

stayallive commented 4 years ago

Because on WordPress.com you cannot edit the wp-config.php we should make it possible to have the DSN loaded from the WordPress options API using an admin settings UI.

However, this options API loading should be disabled (and not registered to prevent extra database load) when the wp-config.php key has a DSN set and should either hide or disable the admin settings UI too.

Support question sparking this request:

https://wordpress.org/support/topic/using-on-site-hosted-on-wordpress/