Issue #2288783 by tim.plunkett: Add a current theme condition.