bugfix + checking

remove stupid ajax call + add checking for wp version