Closed frankiejarrett closed 11 years ago
Well, for that matter, it should be invoked on the deactivation hook as well.
Welp...I see the activation hook is supposedly already doing this, so I'm not sure why I experienced the issue on BT. Maybe it requires a hard flush?
It's not running on the deactivation hook yet, though.
When I activated this plugin on BT it broke styles on the site until the permalink rules were flushed. To prevent the extra step, it might be a good idea to invoke
flush_rewrite_rules()
on the plugin activation hook.