CRM-15193 - Set userFrameworkFrontend before adding core resources in WP