Remove unused code, fix some comments
Updates #28361

Conflicts:
	admin-views/datepicker.php
	lib/the-events-calendar.class.php