if (@$_POST['diffclass'] == 'minor') { unset($RecentChangesFmt['Site.MajorChanges']); }