plone/plone.api — comment on commit b8dd24fdf3f45876b2626d1281d80d209d088626
File:  line 0
By mjpieters:

Zope 2.12 has zope.app.component.hooks, Zope 2.13 has zope.component.hooks; this changed in [zope.component 3.8.0](https://crate.io/packages/zope.component/#id22). David's ordering would thus less likely lead to an ImportError on recent Plone versions.

+1 on using `getUtility(ISiteRoot)` over `getSite()`