BUG: fixed "regression"  adding a new class to SiteTree elem (edit-disabled) 

regression inserted with 9281ebc64764a58f86f685f9765e1d8b60995e5a

related to https://github.com/silverstripe/silverstripe-framework/pull/2039