Event Locations Not Deleting
-
I’m using Events Manager 5.5.3.1 on a WordPress Multisite with “Locations on main blog?” set to “Yes”.
The problem: While working on a non-main site and after creating an event with a NEW location if I go back to Events > Locations in the Dashboard and attempt to delete a location nothing happens. I check the box next to the location I want to delete and then select “Delete Selected” and click “Apply” and the page just refreshes and the location is still listed on the non-main site as well as the main site. I’m using a Super Admin account.
Looking at the code (events-manager/classes/em-location.php) for the “delete” method (starting on line 421) it appears that there is no check to see if “dbem_ms_mainblog_locations” is true or false, and thus calling ms_global_switch. This same check is done when creating a location, but doesn’t appear to be taking place when deleting a location.
This appears to be a bug.
- The topic ‘Event Locations Not Deleting’ is closed to new replies.