events+ breaks option rewrite_rules

After activating event+ in a wpmu+bp+wpml installation, all wpml pages routes stopped working and returned 404 error. It happened only with non-default language routes.

I think the problem is that Eab_EventsHub->check_rewrite_rules() method is cleaning rewrite_rules option. Adding a “return $value;” statement at the end of this method fix the problem (apparently).

Index: events-and-bookings.php (1.6.2)


@@ -1512,6 +1512,7 @@




+ return $value;



Wordpress 3.5.2

Buddypress 1.8.1