washingtonstateuniversity/WSUWP-Platform — pull request #211 by jeremyfelt (2014-11-07 00:38:15+00:00)
Title: [PR] Before checking current screen, make sure we're in wp-admin/

We don't need this user query to fire on P2 views, so we can add
an extra `is_admin()` check to avoid failing on the current screen
(lack of) object here.