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

Be smarter about handling the default version #171

Closed stayallive closed 8 months ago

stayallive commented 8 months ago

In a network environment calling wp_get_theme() this soon causes issues with child themes. Si we delay until after after_setup_theme which seems reasonable to me.

I also opted to not do anything if the plugin was network activated since every site can have it's own theme and associated version.

Fixes #170.