The Pennsylvania Supreme Court has agreed to hear arguments over whether probation can be revoked because of offensive social media posts even if no specific condition of probation was violated.

In Commonwealth v. Foster, the state Superior Court ruled in January to uphold an 11.5-to-23-month jail sentence, plus seven years’ probation, imposed by a Philadelphia trial judge on defendant Darnell Foster for violating his probation.