stayallive / wp-sentry

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

Return `$options` in `wp_sentry_options` filter usage #183

Closed Pluuk closed 4 months ago

Pluuk commented 4 months ago

When the WP_SENTRY_VERSION is not defined, the wp_sentry_options filter doesn't return the $options variable, so when we add a filter after this one, the data is not set correctly.

stayallive commented 4 months ago

Wow... that is not very smart 🤦‍♂️ thanks for catching this!

stayallive commented 4 months ago

Just released https://github.com/stayallive/wp-sentry/releases/tag/v7.13.0 that includes this fix 👍